|
|
@@ -577,6 +577,7 @@
|
|
|
* 更新标记集合
|
|
|
*/
|
|
|
updateGeometries(styleId = 'marker') {
|
|
|
+ console.log('updateGeometries');
|
|
|
//更新标点坐标
|
|
|
if (this.$isEmpty(this.coordinates)) {
|
|
|
markers.setGeometries([])
|
|
|
@@ -608,7 +609,7 @@
|
|
|
infoWindow.close(); //初始关闭信息窗关闭
|
|
|
//监听标注点击事件
|
|
|
markers.on("click", (evt) => {
|
|
|
- console.log(this.operaType == 0);
|
|
|
+ console.log('markers.on');
|
|
|
let item = evt.geometry.properties
|
|
|
if (this.operaType == 0) {
|
|
|
this.openInfoWindow(item)
|
|
|
@@ -678,6 +679,7 @@
|
|
|
editor.setSelectable(true)
|
|
|
},
|
|
|
async createUpdateWapper() {
|
|
|
+ console.log(createUpdateWapper);
|
|
|
this.removeEditRemark()
|
|
|
this.operaType = 0
|
|
|
editor.setSelectable(false)
|