Map类

Map类 方法

方法名 返回类型 说明
addLayer(layer, index?) layer

增加一个esri图层到map中,示例:

var baseMapLayer = new ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
map.addLayer(baseMapLayer);

     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
原文地址:https://www.cnblogs.com/tinaluo/p/7059811.html