Illustrates how to install imagery into a WorldWind
FileStore
.
Image data is installed into a FileStore by executing the following steps:
- Choose the FileStore location to
place the installed imagery. This example uses the default install location.
- Compute a unique cache name for
the imagery. In this example the cache name is "Examples/ImageName", where "ImageName" is the image's display name,
stripped of any illegal filename characters.
- Install the imagery by constructing, configuring and running a
TiledImageProducer
. - The installed imagery is subsequently described by a
configuration
Document
, which we use to construct a Layer via the Factory
method Factory.createFromConfigSource(Object, gov.nasa.worldwind.avlist.AVList)
.