|
@@ -743,6 +743,12 @@ export default {
|
|
|
let markerData = JSON.parse(JSON.stringify(this.markerData))
|
|
|
markerData.map(one => {
|
|
|
one.draggable = false
|
|
|
+ // if (one.icon === 'https://img2.honglounews.com/20221216021336-9631.png') {
|
|
|
+ // one.icon = 'https://img2.honglounews.com/20221216033134-4172.png'
|
|
|
+ // }
|
|
|
+ // if (one.icon === 'https://img2.honglounews.com/20221216021406-2208.png') {
|
|
|
+ // one.icon = 'https://img2.honglounews.com/20221216033029-9699.png'
|
|
|
+ // }
|
|
|
})
|
|
|
const data = {
|
|
|
polygons,
|
|
@@ -750,7 +756,7 @@ export default {
|
|
|
markerData,
|
|
|
mapDiyObj: this.mapDiyObj,
|
|
|
}
|
|
|
- // console.log(polygons)
|
|
|
+ // console.log(markerData)
|
|
|
// return
|
|
|
const query = this.$route.query
|
|
|
this.$api.other.admmapcoordinedit({
|
|
@@ -892,7 +898,7 @@ export default {
|
|
|
draggable: true,
|
|
|
animation: 'AMAP_ANIMATION_DROP',
|
|
|
content: '',
|
|
|
- offset: [0, -10],
|
|
|
+ offset: [0, 0],
|
|
|
text: obj.text,
|
|
|
icon: obj.icon,
|
|
|
})
|