前言
环境信息:ArcGIS for windows mobile 10.1.1,ArcGIS runtime sdk for windows mobile 10.1.1
一、MapCache的打开
mobileCache1.StoragePath = thisfolder + "\MapCache"; map1.MapLayers.AddRange(mobileCache1); map1.SetExtent(map1.GetExtent().Resize(0.6));
二、base Map的打开
TileCacheMapLayer tilelayer = new TileCacheMapLayer( ( thisfolder +"\Layers" ) ); tilelayer.Open(); if (tilelayer.TileCacheInfo != null) map1.MapLayers.Add(tilelayer);
三、Graphiclayer的打开
CustomGraphicLayer graphicLayer = new CustomGraphicLayer(); map1.MapGraphicLayers.Add(graphicLayer);