Browse Source

修改地图默认缩放

wangqin
Joe 11 months ago
parent
commit
b33b98aad1
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue

@ -46,7 +46,7 @@ export default {
this.aMapIns = new this.AMap.Map(this.$refs.mapContainerRef, { this.aMapIns = new this.AMap.Map(this.$refs.mapContainerRef, {
resizeEnable: true, // resizeEnable: true, //
mapStyle: "amap://styles/blue", mapStyle: "amap://styles/blue",
zoom: 9, zoom: 7,
center: [116.629514, 35.794168], center: [116.629514, 35.794168],
}); });

Loading…
Cancel
Save