react-bmapgl icon indicating copy to clipboard operation
react-bmapgl copied to clipboard

基于百度地图JavaScript GL版API封装的React组件库

Results 52 react-bmapgl issues
Sort by recently updated
recently updated
newest added

支持react-native吗?

我目前开发环境时react+typescript,然后报ts错误,node_modules/react-bmapgl/types/bmapgl/index.d.ts”不是模块 相关包版本: "react-bmapgl": "^0.2.7", "@types/bmapgl": "^0.0.5", 感觉官方支持不完善,不清楚有什么好的解决方案; 目前我用的是: *. declare module "react-bmapgl"; 这种就不太好,缺少了类型 *. 到react-bmapgl的package.json里面的types,把types/bmapgl/index.d.ts 改成 dist/index.d.ts;感觉这种也不好,如果这种可以的话,那官方为什么处理一下呢,而手动改也不好。 求解决方案

请问在配置了mapStyleV2后,为什么只会显示百度logo但不显示版权信息 如何生成百度的版权信息呢?

在使用MapVGL绘制IconLayer后,会覆盖百度地图的Marker,看了一下Maker是画在地图的canvas上的,会被mapv的canvas遮盖,这个有什么解决办法吗

一共两个问题: 1.能把Marker等子组件中map改为非必传?每次都提示一个错误,很难受。 ![image](https://github.com/huiyan-fe/react-bmapgl/assets/22092546/a5cb866f-421b-4c05-8247-73d2148080ac) 2.把Map标签增加一个children属性 ![image](https://github.com/huiyan-fe/react-bmapgl/assets/22092546/fde970af-9c43-41b7-97e9-c5b0d8e2fe7a)

npm 上搜到以下两个库 https://www.npmjs.com/package/@types/bmapgl // * Last updated: Tue, 18 Apr 2023 17:33:12 GMT https://www.npmjs.com/package/@types/bmapgl-browser // * Last updated: Mon, 24 Jul 2023 15:02:52 GMT 文档里面都写的是 `bmapgl` 这个包,链接 `https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bmapgl` 进去 404。...

![image](https://github.com/huiyan-fe/react-bmapgl/assets/13867442/582f5a62-7b9e-472f-bd13-dbb79921de51)

添加Marker rotation属性 : Marker旋转角度

![image](https://github.com/huiyan-fe/react-bmapgl/assets/41940545/2003350e-dd4a-41c1-895c-80c9fa9f2c42)

`GeolocationResult` 返回的数据中 ``` { "accuracy": 209, "altitude": null, "altitudeAccuracy": null, "heading": null, "latitude": 27.1234, "longitude": 113.1234, "speed": null, "timestamp": null, "point": { "lng": 113.1234, "lat": 27.1234 }, "address": { "country":...