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版本。
part of code for ios icon is already merged, this part is the missing part.
1.infoWindow容器里面内容不显示,显示银灰块 2. Marker title 不显示也不报错, 3. Overlay.Text 也不显示。 android 环境。 "react-native": "0.61.5", "react-native-baidu-map": "^1.0.26", 现在已经是凌晨3.30了,自己还没有搞定。
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/lidongbo/Library/Developer/Xcode/DerivedData/WorkbenchApp-dgtjoqzlxpktrcecqklbgccrmkoj/Build/Intermediates.noindex/RCTBaiduMap.build/Debug-iphonesimulator/RCTBaiduMap.build/Script-F94669FC245B52F58812BA9A.sh (in target 'RCTBaiduMap' from project 'RCTBaiduMap') cd /Users/lidongbo/WorkBentch/ReactNative/sinosig/workbench-app/node_modules/react-native-baidu-map/ios /bin/sh -c /Users/lidongbo/Library/Developer/Xcode/DerivedData/WorkbenchApp-dgtjoqzlxpktrcecqklbgccrmkoj/Build/Intermediates.noindex/RCTBaiduMap.build/Debug-iphonesimulator/RCTBaiduMap.build/Script-F94669FC245B52F58812BA9A.sh diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or...
 我试着打印了下如图  发现 与原生jia交互的地方NativeModules.BaiduMapManager 就是 null 但是看原生代码写的没有毛病,求助大神帮忙看下
操作系统:macOS 10.15.2 运行:iOS13 模拟器 RN:0.61.5 react-native-baidu-map:1.0.26 按照readme安装完成后,也进入ios运行了pod install,之后iOS需要在js里初始化key,也就是下面这句: `BaiduMapManager.initSDK('sIMQlfmOXhQmPLF1QMh4aBp8zZO9Lb2A');` 然而这句代码一执行就出错: ``` TypeError: null is not an object (evaluating '_reactNativeBaiduMap.BaiduMapManager.initSDK') This error is located at: in MapScreen (at SceneView.js:9) in SceneView...
hello everyone. I just want to use 'react-native-baidu-map' in react-native with expo. I installed this module using 'yarn add react-native-baidu-map'. and I added this code in my program. So, please...
真机上获取定位成功后设置center无效,还是显示在北京,marker已经生效了 ``` Geolocation.getCurrentPosition() .then(data => { this.setState({ zoom: 15, marker: { latitude: data.latitude, longitude: data.longitude, title: data.address }, center: { latitude: data.latitude, longitude: data.longitude, rand: Math.random() }, address: data.address });...
Geolocation.getCurrentPosition return address:null,city:null, and lat ,long not right ios
如题,感觉只支持0.60以上有点激进了吧