amap-vue
amap-vue copied to clipboard
Using AMap with Vue in an easy way.
大佬, 参考示例里面的 这个 demo-view 组件在哪里啊?
vue2 项目 在页面 mixins: [withAmap], 时控制台直接就报错 Injection "$amapMap" not found
大佬您好 您写的插件确实非常棒列如 https://jimnox.gitee.io/amap-vue/examples/coord-picker.html 但是很遗憾 我没法引入项目里面 https://gitee.com/y_project/RuoYi-Vue/tree/master/ruoyi-ui 您项目依赖js库太多 导致用这个项目想引入您的插件失败 建议 希望能引入很少的类库 类似高德地图 一个js 就可以
怎么使用官方 SDK 方法,点击按钮定位? 有示例吗,作者大大
mixins.js:1 Uncaught (in promise) TypeError: n.default.mixin is not a function at node_modules/@amap/amap-vue/lib/mixins/mixins.js (mixins.js:1) at __require2 (chunk-YOHASWQG.js?v=419e2a24:15) at node_modules/@amap/amap-vue/lib/amap.js (amap.js:formatted:311) at __require2 (chunk-YOHASWQG.js?v=419e2a24:15) at amap.js:formatted:311
bug 反馈
1. 当前最新的版本:2.0.7,没有文档中的2.0.8 2. 在vue全局引用一直报 main.js?56d7:20 Uncaught ReferenceError: AmapVue is not defined
复现步骤: 1.页面A、页面B都包含地图 2.页面A发生滚动后,跳转至页面B 3.从页面B返回至页面A,页面A的地图显示 注:页面A不滚动直接跳转页面B,返回后页面A地图显示正常,这时页面再滚动后跳转至页面B后返回显示还是正常 文档中的页面也是可以复现这个bug的,例如,地图与Marker两个文档例子之间的跳转
在windows下 map-style失效 mac下面没问题