bdschubert
03-19-2012, 06:19 PM
I'm trying to setup my app to use a file-based icon retriever instead of an http-based one. I'm under the impression that I need only specify in the MilStd2525IconRetrieverPath property the path to a zip file containing the icon folders (e.g., milstd2525-symbols.zip). Yet, no matter how I've configured the path, the AbstractIconRetriever.readImage() method always fails.
Ultimately, WWIO.getFileOrResourceAsStream() is called and it fails to open the file. It uses a File object to test for the existence of a zip file entry, which fails.
What's the correct way to configure WW to use a file-based zip file for icons?
Example property:
<Property name="gov.nasa.worldwind.avkey.MilStd2525IconR etrieverPath" value="c:/temp/milstd2525-symbols.zip" />
Ultimately, WWIO.getFileOrResourceAsStream() is called and it fails to open the file. It uses a File object to test for the existence of a zip file entry, which fails.
What's the correct way to configure WW to use a file-based zip file for icons?
Example property:
<Property name="gov.nasa.worldwind.avkey.MilStd2525IconR etrieverPath" value="c:/temp/milstd2525-symbols.zip" />