在vue项目中使用arcgis API开发地图模块功能,createMap() { esriLoader.dojoRequire([ "esri/map", "esri/basemaps", ], (Map, esriBasemaps) => { esriBasemaps.tianditu = { baseMapLayers: [{ url: "http://www.digitalcq.com/RemoteRest/services/CQMap_VEC/MapServer" }], title: "TianDitu" }; var map = new Map("map", { ba semap: "tianditu", center: [106.588252, 29.567552], zoom: 8, }); }); }