Browse Source

修改地图默认缩放

wangqin
Joe 10 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, {
resizeEnable: true, //
mapStyle: "amap://styles/blue",
zoom: 9,
zoom: 7,
center: [116.629514, 35.794168],
});

Loading…
Cancel
Save