vue项目使用esri loader加载arcgis
效果如下图:
操作如下:
- 引入esri loader
- 加载进相应的js和css文件
- 像普通html那样操作即可
完整代码如下:
},
beforeDestroy() {
if (this.view) {
// destroy the map view
this.view.container = null
}
}
}
效果如下图:
操作如下:
完整代码如下:
},
beforeDestroy() {
if (this.view) {
// destroy the map view
this.view.container = null
}
}
}