12 2013 档案
摘要:创建图层 public void CreateLayer(string LayerName) { MapXLib.CoordSys coor = axMap.DisplayCoordSys; MapXLib.Layer myLayer = axMap.Layers.CreateLayer(LayerName, Type.Missing, 0, 100, coor);//100为KeyLength,可决定图层中feature的KeyValue的长度 myLayer.Editable = true; ...
阅读全文
摘要:最近项目中用到google地图,简单研究了下,记录下代码,备用! var map; var markerArr = new Array();//初始化google地图function initialize() { var mapOptions = { center: new google.maps.LatLng(39.9, 116.40), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.ma...
阅读全文