quanyawei
2024-07-09 9e92d9fb2f4c7aea544b3286c774c72d931f248b
src/main.ts
@@ -11,16 +11,16 @@
//百度地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  ak: '9FrZ6v3P8xS290ygi40M5Ik3Fgwes4KY'//你申请的key
  ak: 'c4e73f2c6972766d6a54dffd2f501cac'//你申请的key
})
import AMap from 'vue-amap'
Vue.use(AMap)
AMap.initAMapApiLoader({
  key: 'c4e73f2c6972766d6a54dffd2f501cac',
    key: 'f4ba1c4d94654309b97a557d41857b48',
  plugin: ['AMap.moveAnimation', 'AMap.PlaceSearch', 'AMap.Scale',
    'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor',
    'AMap.DistrictSearch', 'AMap.Geocoder', 'AMap.AutoComplete'],
    'AMap.DistrictSearch', 'AMap.Geocoder', 'AMap.Autocomplete'],
  // 默认高德 sdk 版本为 1.4.4
  v: '1.4.4'
})