AnsweredAssumed Answered

Using multiple TPK files on one mapview (.Net Runtime)

Question asked by risualDev on Jan 28, 2015
Latest reply on Jan 29, 2015 by MBranscomb-esristaff

Hi All,


We have been provided multiple .tpk basemaps for different sections of the map, as its very large and we are attempting to use tablets, meaning only relevant sections of the map will be loaded onto the tablet.


So each "region" of the map has been given to us in a .tpk file. This works fine when adding just one section of the map onto the mapview, I'm wondering if adding the second section as a different ArcGISLocalTiledLayer will work, such as this?:


var MapSection1 = new ArcGISLocalTiledLayer(@"ms-appx:///Assets/OSBasemapPackage.tpk");

var MapSection2 = new ArcGISLocalTiledLayer(@"ms-appx:///Assets/OSBasemapPkgEastCentral.tpk");


MapSection1.ID = "mp1";

MapSection2.ID = "mp2";