0

I am able to cache the tile from arcgis SDK and save it in a folder. But once I close the application and reopen it, I am not able to display the cached map in offline. can someone please help me how to save for offline usage..?

Nithinlal
  • 4,845
  • 1
  • 29
  • 40
Soumya
  • 35
  • 7

1 Answers1

0

Once the cache is saved in your device. It gets automatically displayed as it switches from online layer to local layer. Create a local tiled layer and add it to Map View in your onCreate method.

ArcGISLocalTiledLayer arcGISLocalTiledLayer = new ArcGISLocalTiledLayer(defaultPath +File.separator+"Layers"); mMapView.addLayer(arcGISLocalTiledLayer);

Ubaid Gul
  • 1
  • 1