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);
作者:suwenjiang
出处:http://www.cnblogs.com/myyouthlife/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。