react-native-baidu-map
react-native-baidu-map copied to clipboard
Baidu Map SDK modules and views for React Native(Android & iOS), support react native 0.61+. 百度地图 React Native 模块,支持 react native 0.61+,已更新到最新的百度地图SDK版本。
RN版本:0.61.2 react-native-baidu-map版本: 1.0.26 reverseGeoCode方法转换国内gps坐标时正常,转换国外坐标会闪退 以下是我导致闪退的坐标 ` {longitude: -122.08429116122987, latitude: 37.421585589067796} ` `_onMapClick(point) { Geolocation.reverseGeoCode(point.latitude, point.longitude).then(res => { this.setState({ addressList: res.poiList, addressLoading: false }) }) }`
RN:0.59.9 react-native-baidu-map: 1.0.7 最新版本,全部按照流程来, getCurrentPosition()报错:反地理编码检索中,location字段不合法, 有人遇到过这种问题吗? 另外:geocode()方法是可以的
版本和react-native统一
1. Upgrade to RN 0.54 2. Reformated code with two spaces tab 3. For ios trying to add Poi search function
不支持点聚合吗?
ru
想问下报这个错怎么解决: ``` Invariant Violation: requiredNativeComponent: "BaiduMapView" was not found in the UIManager. ``` link 过了,然后 `android/build.gradle` 文件中的版本信息如下: ``` ext { buildToolsVersion = "28.0.3" minSdkVersion = 19 compileSdkVersion = 28 targetSdkVersion...