Demonstrates the basic initialization of the ArcGIS Cache layer using a prebuilt configuration, and direct tile access from a file store.
This example demonstrates using the ArcGISCache layer for accessing ESRI's ArcGIS Server (AGS) Map Cache tiles directly via the folder structure and HTTP. Toggle the visibility of the AGS layer to demonstrate how the two maps are lined up correctly.
It's important that you set the correct values in your layer, and these values will differ between tile sets. You can find these values for your layer in conf.xml at the root of your cache. (ie. http://serverx.esri.com/arcgiscache/dgaerials/Layers/conf.xml)
For fused map caches this is often http:ServerName/arcgiscache/MapServiceName/Layers
For individual layer caches this is often http:ServerName/arcgiscache/LayerName/Layers
This is one of three examples for this layer. You can also configure this layer to use prebuilt tiles from a live server. It is also possible to let this layer 'auto-configure' itself using the capabilities json object from the server itself when using a live ArcGIS server.