Basemaps on local sd card, upgrading to 10.2

2717
0
04-01-2015 12:48 PM
FionaBecker
New Contributor II

We had a mobile project in version 10, that accessed aerial basemaps that were stored locally on each device's sd card. We tweaked the TileCacheMapLayer line in the .amp file to:

<TileCacheMapLayer name="Layers" cacheDirectory="\SD-MMC card\My Documents\ArcGIS Mobile\Basemap\Layers" visible="True" />

However, the format of the amp file has changed a lot in 10.2. The current TileCache line looks like this:

{"tilecacheMapLayer":{"name":"Layers","cacheDirectory":"Layers","visible":true,"byValue":false}}],

Is it possible to tweak this line to look in the local sd card on the device?

I tried

{"tilecacheMapLayer":{"name":"Layers","cacheDirectory":"\SD-MMC card\My Documents\ArcGIS Mobile\Basemap\Layers","visible":true,"byValue":false}}],

...but without success.

Tags (2)
0 Replies