-
I wraped my components like this
```
componentDidMount(){
this.map = new BMap.Map(this.id);
this.map.centerAndZoom(new BMap.Point(121.406316,31.009703), 22);
this.map.addControl(new BMap…
-
-
没有找到获取当前位置的API
-
How can we proceed if we want a non-trivial area to react to an event?
I'm thinking about something like a directional pad: you want a different direction to be triggered depending on where you tap i…
-
就像baidu map原生api中那种[检索功能](http://lbs.baidu.com/jsdemo.htm#a6_2)
http://lbs.baidu.com/jsdemo.htm#a6_2
-
自定义的组件为:
```
import React from 'react';
import { ReactComponent, Overlay } from 'rc-bmap';
const container = {
width: 53,
height: 53,
border: '3px solid red',
borderRadius:'50%'
};
…
-
### Version
5.4.1
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
useEffect(() => {
const dom = document.getElementById("container")!;
const myChart = echarts.init(dom…
-
文字看不出来,图片很明显,一闪一闪的
### 代码
```
const [test, setTest] = React.useState(0);
React.useEffect(() => {
setInterval(() => {
setTest((state) => state + 1);
}, 500);
}, []);
…
-
业务场景:
想用一组数据同时展示circler和marker,只能对数据做两次map,如果用Fragment或者自定义的其他dom包括后,这两个覆盖物都不会展示
这样写不展示:
```jsx
{
data.map(({ type, color, lng, lat, radius }) => (
))
} …
-
### Version
5.5.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=lines-bmap
### Steps to Reproduce
1. Create several lines layers
2. In Chrome, g…