# up
This commit is contained in:
parent
68db231f8e
commit
7d10a9398a
|
@ -22,10 +22,11 @@ import VueAMap from 'vue-amap'
|
|||
Vue.use(VueAMap)
|
||||
|
||||
VueAMap.initAMapApiLoader({
|
||||
key: '29fc9d79996d548cb00726229752cd1f',
|
||||
key: '49842c6fe4d24df80871faec2e272a00',
|
||||
plugin: [
|
||||
'AMap.Geolocation',
|
||||
'AMap.Driving',
|
||||
'AMap.Walking',
|
||||
'AMap.Autocomplete',
|
||||
'AMap.PlaceSearch',
|
||||
'AMap.Scale',
|
||||
|
|
|
@ -84,6 +84,7 @@ export default {
|
|||
},
|
||||
{
|
||||
pName: 'Driving',
|
||||
policy: 'AMap.DrivingPolicy.LEAST_TIME',
|
||||
events: {
|
||||
init(o) {
|
||||
o.search(self.center, [113.276316, 23.112071], (status, result) => {
|
||||
|
|
Loading…
Reference in New Issue