react-native 导入高德地图
- (建议用百度地图)
- 高德官网 : https://lbs.amap.com/
- GitHub地址: https://github.com/qiuxiang/react-native-amap3d
- 安装的时候遇到错误:一般是这个:Execution failed for task ':react-native-amap3d:compileDebugKotlin' ,解决办法:https://github.com/25juan/react-native-amap3d/commit/30b92dad1ec6d59b82bbfcb0b12051c36ef8cfb0
- 获取appkey: 在终端:
cd .android
输入密码:一般是是android keytool -list -v -keystore debug.keystore5、运行代码,可以参考官方https://github.com/qiuxiang/react-native-amap3d/tree/master/example/examples,或者api