Comments (9)
你那边是不是样式被覆盖了,文档和我本地都是正常的
from vue-baidu-map-3x.
可能我是webGL?
from vue-baidu-map-3x.
还有bm-maker的label选项无法使用
vue-baidu-map-3x.es.js:158
Uncaught TypeError: Cannot read properties of undefined (reading 'offset')
at createLabel (vue-baidu-map-3x.es.js:158:18)
at Proxy.load (vue-baidu-map-3x.es.js:1217:44)
at Proxy.ready (vue-baidu-map-3x.es.js:654:14)
at E$1.emit (vue-baidu-map-3x.es.js:235:20)
at Object.$emit (vue-baidu-map-3x.es.js:261:32)
at g0.<anonymous> (vue-baidu-map-3x.es.js:510:19)
at ev.BaseClass.fire.ev.BaseClass.dispatchEvent (getscript?type=webgl&v=1.0&ak=IDdZzXKwmNj1aHDPKa0uGuy1dhL88ZiB&services=&t=20220830143644:5:2632)
at getscript?type=webgl&v=1.0&ak=IDdZzXKwmNj1aHDPKa0uGuy1dhL88ZiB&services=&t=20220830143644:20:273002
<template>
<bm-marker :position="{lng: point.lng, lat: point.lat}" :dragging="false" :lable="point.id" @click="show=true">
<bm-info-window :show="show" @close="show=false" @open="show=true">ID:{{point.id}}</bm-info-window>
</bm-marker>
</template>
<script setup lang="ts">
import { Point } from './point';
import { BmMarker, BmInfoWindow } from "vue-baidu-map-3x";
const show = ref(false)
defineProps<{ point: Point }>()
</script>
from vue-baidu-map-3x.
按需加载是不是还没实现锕
from vue-baidu-map-3x.
<Marker v-for="point of pointMap.values()" :point="point" />
更新pointMap的时候marker会自动添加,但是bm-info-window不会添加
from vue-baidu-map-3x.
可能我是webGL?
from vue-baidu-map-3x.
还有bm-maker的label选项无法使用
vue-baidu-map-3x.es.js:158 Uncaught TypeError: Cannot read properties of undefined (reading 'offset') at createLabel (vue-baidu-map-3x.es.js:158:18) at Proxy.load (vue-baidu-map-3x.es.js:1217:44) at Proxy.ready (vue-baidu-map-3x.es.js:654:14) at E$1.emit (vue-baidu-map-3x.es.js:235:20) at Object.$emit (vue-baidu-map-3x.es.js:261:32) at g0.<anonymous> (vue-baidu-map-3x.es.js:510:19) at ev.BaseClass.fire.ev.BaseClass.dispatchEvent (getscript?type=webgl&v=1.0&ak=IDdZzXKwmNj1aHDPKa0uGuy1dhL88ZiB&services=&t=20220830143644:5:2632) at getscript?type=webgl&v=1.0&ak=IDdZzXKwmNj1aHDPKa0uGuy1dhL88ZiB&services=&t=20220830143644:20:273002
<template> <bm-marker :position="{lng: point.lng, lat: point.lat}" :dragging="false" :lable="point.id" @click="show=true"> <bm-info-window :show="show" @close="show=false" @open="show=true">ID:{{point.id}}</bm-info-window> </bm-marker> </template> <script setup lang="ts"> import { Point } from './point'; import { BmMarker, BmInfoWindow } from "vue-baidu-map-3x"; const show = ref(false) defineProps<{ point: Point }>() </script>
from vue-baidu-map-3x.
按需加载是不是还没实现锕
按需加载还在开发中
from vue-baidu-map-3x.
<Marker v-for="point of pointMap.values()" :point="point" />
更新pointMap的时候marker会自动添加,但是bm-info-window不会添加
from vue-baidu-map-3x.
Related Issues (20)
- 自动定位没有回调
- 路书使用报错 HOT 1
- 请问下点击具体地址的时候,infoWindow能不能不展示
- 逆地址解析getLocation回调内容为null
- 自定义控件点击事件不生效
- 百度地图的MapType支持地球模式吗 HOT 1
- 点击行政区划没有触发点击事件 HOT 1
- ready函数有时候不触发 HOT 6
- 如何隐藏点击地图后的搜索提示
- polygon @mouseover有时不触发事件,像是位置偏移
- 初始化的时候baidu-map 的属性map-type设定值报错 不设定自定义的值展示正常
- 打包报错太多
- 请问如何将离线地图瓦片默认请求的jpg文件改为png后缀文件
- https 下 net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200 (OK) 出现这个问题
- 地图定位设置为BMAP_ANCHOR_TOP_RIGHT时还是在左下角显示
- 请问支持uniapp吗? 使用之后agent什么的报错...
- 某些屏幕下地图加载后 ready回调没有问 HOT 1
- 使用 <bm-point-collection> 海量點元素時,報 TypeError: Cannot destructure property 'BMap' of 'undefined' as it is undefined HOT 5
- 类型提示问题 HOT 1
- 缺少骑行路线规划
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-baidu-map-3x.