|Map Tiling / Caching Tiles|
Depending on your organization's requirements, you may need to create your own custom tile caching mechanism. For example, the built-in tile caching mechanism included with the Location Intelligence Module caches tiles on the file system. If instead you want to cache your tiles in a database, you will need to create your own custom tile caching mechanism.
To create your own tile caching mechanism, use the following steps:
The ITileCache interface class is packaged in this JAR file:
For information about each of the ITileCache methods you will need to implement, see the ITileCache Javadoc file located here:
The java.properties file is located in the Spectrum_install_dir/server/modules/spatial directory.
The default location of the MapTilingConfiguration.xml file in the repository is:
Each initialization setting is added to a <Property> element that is a child of the <Cache> element in the configuration file. Each <Property> element has a name attribute and a value attribute which holds the name and value of the initialization setting.
The Map Tiling Service will now use your custom tile caching mechanism to cache the map tiles.