addCircleDistance() { let circleDistanceLayer =this.$mapView.map.findLayerById('circleD...

addCircleDistance() { let circleDistanceLayer =this.$mapView.map.findLayerById('circleD...
await loadArcgisModules(['esri/tasks/Geoprocessor']) // 調(diào)用 GP 服務(wù) const gp =new this.$es...
async addSluicePumpLayerData() { // 獲取數(shù)據(jù) await this.getListData() this.layers.sluiceP...
1.引入 "esri/tasks/Geoprocessor" 2.new GP服務(wù),根據(jù)提交參數(shù)調(diào)用gp const gp =new this.$esri.Geoproces...
1.GraphicsLayer : const graphic =this.layers.HospitalLayer.graphics.items.find(item => ...
// 畫圈圈 addCircleGraphic(graphic) { const target =new this.$esri.Point({type:'point',x: ...
const layers = new this.$esri.FeatureLayer({ id: 'Layer', url: 'http://10.194.170.8...
async creatMetroLayer() { const {content } =await getMetroList({ pageNum:1, pageSize:99...
view.on('click', (res) => { // 點(diǎn)擊后不知道為什么屬性沒(méi)有查詢成功育八,用的一個(gè)圓去做點(diǎn)查詢 const circle =new this.$esr...
// 保存道路名稱 saveRoad () { this.currFeatures.attributes.name =this.form.name this.inspect...
showSelectRoad (objId) { if (this.currHighlight) { this.currHighlight.remove() } const ...
// 設(shè)置積水點(diǎn)彈窗 setPopupTemplate () { // 積水點(diǎn) return { titleExp:'$feature.name', title:'{nam...
// 查詢并高亮顯示點(diǎn),根據(jù)自己代碼自行修改 queryHighLight (featureLayer, lon, lat) { JTMapKit.mapView.whenL...
// 設(shè)置彈窗 setPopupTemplate () { // 積水點(diǎn) return { titleExp:'$feature.name', title:'{name}'...
一. 普通彈窗 // 配置彈窗內(nèi)容 function setPopupTemplate () { // 積水點(diǎn) return { titleExp:'$feature.na...
goCenter (data) { JTMapKit.mapView.goTo({ center: data ? [data.data.longitude, data.dat...
@愚_0a47 添加resolve()會(huì)有3打印钮热,不知道為什么3和1中間會(huì)有undefined
javascript的宏任務(wù)和微任務(wù)https://juejin.im/post/59e85eebf265da430d571f89 javascript的宏任務(wù)和微任務(wù) 2018年04月11日 20:28:19...
為什么谷歌跑的結(jié)果是這個(gè)
2
4
undefined
1
javascript的宏任務(wù)和微任務(wù)https://juejin.im/post/59e85eebf265da430d571f89 javascript的宏任務(wù)和微任務(wù) 2018年04月11日 20:28:19...
$location烛芬,$http隧期,$timeout,$interval 1.factory定義一個(gè)對(duì)象赘娄, 給這個(gè)對(duì)象添加屬性和方法仆潮, 然后返回這個(gè)對(duì)象。直接調(diào)用 app.fac...