var map = new esri.Map("MapDiv", {
logo: false,
sliderStyle: "large"});
//加载地图
URL = "http://localhost:6080/arcgis/rest/services/森林资源调查/森林资源分布图/MapServer";
var MyDynamicMapServiceLayer = new esri.layers.ArcGISDynamicMapServiceLayer
("http://localhost:6080/arcgis/rest/services/森林资源调查/森林资源分布图/MapServer");
map.addLayer(MyDynamicMapServiceLayer);
arcgis js加载地图
最新推荐文章于 2023-08-13 16:40:40 发布