|
@@ -174,6 +174,9 @@ export default {
|
|
|
panToLocation: true, //定位成功后将定位到的位置作为地图中心点,默认:true
|
|
|
zoomToAccuracy: true //定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
|
|
|
})
|
|
|
+ let marker = new AMap.Marker({
|
|
|
+ postion: [this.longitude, this.latitude],
|
|
|
+ })
|
|
|
})
|
|
|
.catch(e => {
|
|
|
console.log(e);
|