标签:pac save maps div mic iso serve ddt line
1、npm install esri-leaflet --save
2、引入包
import Leaflet from "leaflet"; var esri = require("esri-leaflet");
3、添加底图
esri.basemapLayer("Topographic").addTo(this.map);
esri.dynamicMapLayer({ url:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer", opacity: 0.7 }) .addTo(this.map);
标签:pac save maps div mic iso serve ddt line
原文地址:https://www.cnblogs.com/defineconst/p/10327445.html