提交 0b63e072 authored 作者: 钟是志's avatar 钟是志

定位开启测试页面

上级 b46b4d87
......@@ -8,7 +8,7 @@ export default function getLocation(callBack = () => {}){
}
const map = new BMap.Map('baiduMap');
const point = new BMap.Point(107.303748,34.346725);
map.centerAndZoom(point, 11);
map.centerAndZoom(point, 12);
const geolocation = new BMap.Geolocation();
geolocation.enableSDKLocation();
geolocation.getCurrentPosition(function(r){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论