diff --git a/src/components/Map/arcgisMap.vue b/src/components/Map/arcgisMap.vue index 9bcf43f..ba8aeb4 100644 --- a/src/components/Map/arcgisMap.vue +++ b/src/components/Map/arcgisMap.vue @@ -307,7 +307,7 @@ that.view.popup.open({ title: name, content: address, - location: event.mapPoint + location: graphic.geometry }) } }) diff --git a/src/components/Map/arcgisMap.vue b/src/components/Map/arcgisMap.vue index 9bcf43f..ba8aeb4 100644 --- a/src/components/Map/arcgisMap.vue +++ b/src/components/Map/arcgisMap.vue @@ -307,7 +307,7 @@ that.view.popup.open({ title: name, content: address, - location: event.mapPoint + location: graphic.geometry }) } }) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 5808f59..7e9a92d 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -2,7 +2,7 @@
万米网格:' + results[0].attributes.BGID + '
部件类型:' + results[0].attributes.OBJNAME + '
权属部门:' + results[0].attributes.DEPTNAME1 + @@ -641,7 +640,7 @@ that.view.popup.open({ title: results[0].attributes.OBJNAME, content: content, - location: event.mapPoint + location: results[0].geometry }) // 查询所在社区和单元网格 @@ -689,7 +688,7 @@ that.view.popup.open({ title: feature.attributes.name, content: content, - location: event.mapPoint + location: feature.geometry }) }) } else if (that.queryEventSwitch === '0') { @@ -742,7 +741,7 @@ that.view.popup.open({ title: caseDetail.caseid, content: detailTableHtml, - location: event.mapPoint + location: feature.geometry }) } })