|
|
@@ -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()) //卡尺
|