地图显示中心,级别

dev
Tuzki 2 years ago
parent 3b22605234
commit d03d31e27b
  1. 4
      ruoyi-ui/src/views/picture/resource-monitoring/index.vue

@ -511,9 +511,9 @@ export default {
}, },
initMap() { initMap() {
const map = new AMap.Map('mapDiv', { const map = new AMap.Map('mapDiv', {
center: [115.710498,37.829015], center: [115.710998,37.827129],
resizeEnable: true, resizeEnable: true,
zoom: 16, zoom: 20,
mapStyle: "amap://styles/blue" mapStyle: "amap://styles/blue"
}) })
this.map = map this.map = map

Loading…
Cancel
Save