WPF Map Cache Persistent across applications

328
2
07-18-2012 01:45 PM
Labels (1)
shaileshgavathe
Occasional Contributor II
Hi There,

We have a standalone WPF app that is using ESRI Cache maps. We wanted to share caches across multiple map windows.

Is there any way to share the Cache across multiple map windows?

On the documentation for Mobile Apps it says ITileCache can be persistent across applications.
PersistCacheAcrossSessions  Indicates whether the cache is destroyed after the application exits. Use this for layers that doesn't allow persisting the data.

Would be nice to have a flag on ArcGISTiledMapServiceLayer , so it can be persistent across applications.

How does the tile cache layer for WPF API works as mentioned in the link below?  Could that be leveraged to share cache afters its done downloaded?
http://www.arcgis.com/home/item.html?id=04f934a3a2d4483bb3126c199d6ed077


Thanks in advance,
Shay
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

If you use a Tile Package (TPK) this is an offline equivalent or extract of a tiled service. You can either generate the TPK in ArcMap from the original data or use the Export Map Server Cache tool (http://resources.arcgis.com/en/help/main/10.1/index.html#//005400000013000000) this executes on ArcGIS for Server 10.1 and can export an extent of cache as a TPK for use with the ArcGIS Runtime SDK for WPF.

The TPK can then be shared across map controls/applications.

Cheers

Mike
0 Kudos
shaileshgavathe
Occasional Contributor II
Hi Mike,


Thank you for the response.

Is there an option with ArcGIS 10 to create Tile Package?



Thanks and Regards,
Shay
0 Kudos