ElemeFE / vue-amap

🌍 基于 Vue 2.x 和高德地图的地图组件
https://elemefe.github.io/vue-amap/
MIT License
3.34k stars 583 forks source link

比例尺的引用 #644

Closed 0418wangweijie closed 3 years ago

0418wangweijie commented 3 years ago

import VueAMap from 'vue-amap' import { AMapManager } from 'vue-amap' const amapManager = new AMapManager() Vue.use(VueAMap) VueAMap.initAMapApiLoader({ key: '467d720a723dd21df7415338cbaf0c6a', plugin: ['AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType'], uiVersion: '1.0.11' // 版本号 })

这一种方法引用的比例尺的控件应该怎样显示呢,现在出来的地图中没有比例尺

0418wangweijie commented 3 years ago

已经解决了,自己没看好文档