ArcGIS for window mobile 数据打开

前言

环境信息: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);

  

posted @ 2013-11-14 11:01  suwenjiang  阅读(306)  评论(0编辑  收藏  举报