MPK for offline app

2646
3
11-27-2013 01:47 AM
teamIgal
New Contributor III
Hello,

Is there a possibility to load MPK to a map in an offline application?

Thanks,
Ilona
0 Kudos
3 Replies
EricBader
Occasional Contributor III
Hello,

Is there a possibility to load MPK to a map in an offline application?

Thanks,
Ilona


Hello Ilona,

Map Packages (MPKs) are not supported within an ArcGIS Android application. You can read Tile Packages (TPKs), however.
The MPK workflow is supported with the ArcGIS Runtime SDKs for Java, WPF and Qt.

I hope this is helpful.
0 Kudos
teamIgal
New Contributor III
Thank you Eric.

Is there a way to dynamically draw the TPK without creating the tiles before.
Something like client caching?
0 Kudos
JasonKnisley
Occasional Contributor
If you're referring to caching on the client while they are online so that they can later go offline, the TileCacheTask should be what you want, although it is tagged as being in beta as of the current 10.2.0 API.

I haven't used that yet so I'm not sure what hurdles you may find during implementation. Currently I create tpks from map caches and load them in their entirety onto a device for use as an ArcGISLocalTiledLayer.
0 Kudos