diff --git a/components/AiDvRender.vue b/components/AiDvRender.vue
index 27a62690..d1325095 100644
--- a/components/AiDvRender.vue
+++ b/components/AiDvRender.vue
@@ -23,7 +23,7 @@
:data="values"
:ops="chartList[data.config]"/>
+ :map-style="`amap://styles/${data.mapStyle}`" :pulseLines="data.pulseLines==1" :map.sync="map" :lib.sync="lib" :onlyShowArea="data.limitArea==1"/>
@@ -127,7 +127,7 @@ export default {
if (AMap) {
let infoWin = new AMap.InfoWindow({content: ""})
map.clearMap()
- let markers = this.values.filter(e => e.lng).map(e => {
+ this.values.filter(e => e.lng).map(e => {
return new AMap.Marker({
map,
content: e.content || `
@@ -148,7 +148,6 @@ export default {
}
})
})
- map.setFitView(markers)
this.data.is3d && map.setPitch(65)
if (this.data.is3dAround == 1) {
this.timer = setInterval(() => map?.setRotation(360, false, 16000))
diff --git a/packages/bigscreen/designer/components/form/componentConfig.vue b/packages/bigscreen/designer/components/form/componentConfig.vue
index 0995917c..83be93ba 100644
--- a/packages/bigscreen/designer/components/form/componentConfig.vue
+++ b/packages/bigscreen/designer/components/form/componentConfig.vue
@@ -101,6 +101,12 @@
+
diff --git a/packages/bigscreen/designer/config.js b/packages/bigscreen/designer/config.js
index 357afea8..5e47f2ad 100644
--- a/packages/bigscreen/designer/config.js
+++ b/packages/bigscreen/designer/config.js
@@ -540,7 +540,8 @@ const components = [
],
api: '',
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/map.png',
- is3dAround: '0'
+ is3dAround: '0',
+ limitArea: '0',
}
]
},