-
import BaiduMap from 'vue-baidu-map'
const app = createApp(App)
app.use(BaiduMap, {
// ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
ak: import.meta.env.VITE_GLOB_AK
})…
-
## [BUG 反馈] map.vue第85行map.centerAndZoom报错
### 浏览器版本号
chrome 66.0.3359.181
### Vue 版本号
使用的vue-cli
### 组件库版本号
0.21.10
### 现象描述
```
当使用bm-Marker时,map.vue会map.centerAndZoom报错unde…
-
## [BUG 反馈] 在地图中添加折线后,鼠标在地图上移动的时候一直调服务查询img图片:https://api.map.baidu.com/images/spotmkrs.png
### 浏览器版本号
Google 75.0.3770.100
### Vue 版本号
2.6.10
### 组件库版本号
"vue-baidu-map": "^0.21.20",…
-
## [BUG 反馈] IE11兼容问题,不能显示地图
### 浏览器版本号
IE 11.1.18990
### Vue 版本号
2.6.10
### 组件库版本号
0.21.22
### 现象描述
```
使用CDN引入vue-baidu-map ,全局引用,然后用 Hello world! 里面的例子,报“Unhandled promise r…
-
## [BUG 反馈] setMapViewport和label content间歇性失效
### 浏览器版本号
chrome 67.0.3396.87
### Vue 版本号
2.5.16
### 组件库版本号
0.21.10
### 现象描述
异步获取列表,使用marker将列表信息展示在map上,使用了setMapViewport设置cent…
-
## [BUG 反馈] vue Baidu Map 定位到当前位置 错误
### 浏览器版本号
使用的是小程序(We码) 华为内部封装的一个架构 移动端
### Vue 版本号
2.9.6
### 组件库版本号
^0.21.22
### 现象描述
```
标签 点击定位无响应,在测试环境上点击居然定位到了市中心 (偏离位置太远,排查不出问题)
…
-
## [BUG 反馈] Uncaught TypeError: Cannot set property 'VueBaiduMap' of undefined
### 浏览器版本号
chrome 72.0.3626.119
### Vue 版本号
2.5.22
### 组件库版本号
0.21.16
### 现象描述
```
使用vue-cli3 构…
-
```
app.js:2680 Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_34__.createElementVNode) is not a function
at eval (vue-baidu-map-3x.es.js?de10:2973:1)
at ./node_modules/vue-baidu-map…
-
## [BUG 反馈] 聚合点 点击事件 获取聚合的数据
### 浏览器版本号
所有
### Vue 版本号
2.6.10
### 组件库版本号
0.21.22
### 现象描述
```
无法获取 聚合点数据
```
### 完整异常信息
```
没有事件获取数据
```
### 在线示例 / 仓库 URL
https…
-
"dependencies": {
"echarts": "4.1.0",
"echarts-liquidfill": "2.0.0",
"echarts-wordcloud": "1.1.3",
"element-ui": "^2.3.8",
"vue": "^2.5.2",
"vue-baidu-map": "0.21.9",
…