react-bmapgl
react-bmapgl copied to clipboard
基于百度地图JavaScript GL版API封装的React组件库
CustomOverlay没办法直接从react-bmap中导出 import CustomOverlay from 'react-bmap/lib/overlay/CustomOverlay'; 这样使用CustomOverlay 又报错 里面的options属性都不知道写什么  新文档里面已经找不到CustomOverlay组件的文档说明,是直接舍去这个组件了么???急
Currently the `types` field targets to `types/bmapgl/index.d.ts` where defines GL JSAPI types in `BMapGL` namespace. There is a problem when we import this package:  Because of the `types` field,...

搜索和地图进行联动的时候需要
使用鼠标绘制工具绘制曲线时,鼠标右击标记点时不能撤销标记点。在JS版本上使用该功能正常。
有什么方法可以解决大量CustomOverlay组件节点更新时的卡顿问题吗?
[1] ----------------服务端报错------------------- ReferenceError: window is not defined 请修复window 将代码放在useEffect中使用
https://api.map.baidu.com/getscript getScript内部有段兼容代码有bug  此处的兼容代码没有考虑到element可能是null的情况  但实际上element可以是null
map.enableRotateGestures()此方法报错; map.disableRotate()此方法无效
貌似是在请求 `//api.map.baidu.com/apixxxx` 之后请求`//api.map.baidu.com/getscript` 返回的脚本里使用了write 我是异步加载的最后报了下面的错误 ``` Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened....