react-native 导入高德地图

  1. (建议用百度地图)
  2. 高德官网 : https://lbs.amap.com/
  3. GitHub地址: https://github.com/qiuxiang/react-native-amap3d
  4. 安装的时候遇到错误:通常是这个:Execution failed for task ':react-native-amap3d:compileDebugKotlin'  ,解决办法:https://github.com/25juan/react-native-amap3d/commit/30b92dad1ec6d59b82bbfcb0b12051c36ef8cfb0
  5. 获取appkey: 在终端:
    cd .android
    输入密码:通常是是android keytool
    -list -v -keystore debug.keystore

    五、运行代码,能够参考官方https://github.com/qiuxiang/react-native-amap3d/tree/master/example/examples,或者apireact

相关文章
相关标签/搜索