| xqd
@@ -135,9 +135,7 @@
|
|
|
}
|
|
|
},
|
|
|
// 点击标记点时触发,e.detail = {markerId}
|
|
|
- markertap(index, mode = true, isQt = false) {
|
|
|
-
|
|
|
- console.log(index)
|
|
|
+ markertap(index, mode = true, isQt = false) {
|
|
|
this.updateMode = mode
|
|
|
if(typeof index == 'object'){
|
|
|
index = index.markerId
|
| xqd
@@ -158,18 +156,21 @@
|
|
|
latitude: this.markersIn[this.isActiveMarkerIndex].latitude,
|
|
|
longitude: this.markersIn[this.isActiveMarkerIndex].longitude
|
|
|
}
|
|
|
+
|
|
|
this.painter.wait = 1;
|
|
|
- this.$set(this.painter.base.views, 2, {
|
|
|
- type: 'image',
|
|
|
- src: this.markersIn[this.isActiveMarkerIndex].activeIconPath,
|
|
|
- css: {
|
|
|
- left: '3.5px',
|
|
|
- top: '2px',
|
|
|
- width: '35px',
|
|
|
- height: '35px',
|
|
|
- borderRadius: '17.5px'
|
|
|
- }
|
|
|
- })
|
|
|
+ this.painter.base.views[1].src = this.markersIn[this.isActiveMarkerIndex].activeIconPath + `?v=${(new Date()).getTime()}`
|
|
|
+ console.log(this.painter.base.views[1].src)
|
|
|
+ // this.$set(this.painter.base.views, 2, {
|
|
|
+ // type: 'image',
|
|
|
+ // src: this.markersIn[this.isActiveMarkerIndex].activeIconPath,
|
|
|
+ // css: {
|
|
|
+ // left: '3.5px',
|
|
|
+ // top: '2px',
|
|
|
+ // width: '35px',
|
|
|
+ // height: '35px',
|
|
|
+ // borderRadius: '17.5px'
|
|
|
+ // }
|
|
|
+ // })
|
|
|
},
|
|
|
canvasSuccess(e){
|
|
|
if(this.isActiveMarkerIndex == -1)return;
|