Sfoglia il codice sorgente

跟新百度地图定位问题

丁烨烨 11 mesi fa
parent
commit
bb17677e69
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/AboutPage/index.vue

+ 1 - 1
src/views/AboutPage/index.vue

@@ -230,7 +230,7 @@ const BaiduMap = ref(null)
 const BDMapInit = () => {
   BDMapGL('94KOPB1NRjoXmLvlJN6HMi7eVC50z09K').then((BMapGL: any) => {
     var map = new BMapGL.Map('container')
-    let point = new BMapGL.Point(112.959378, 28.171596)
+    let point = new BMapGL.Point(112.863450,28.178481)
     map.centerAndZoom(point, 16)
     map.enableScrollWheelZoom(true) //设置鼠标放大缩小
     map.addControl(new BMapGL.ScaleControl()) //卡尺