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

    5、运行代码,可以参考官方https://github.com/qiuxiang/react-native-amap3d/tree/master/example/examples,或者api

转载于:https://www.cnblogs.com/founderswitch/p/10791646.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值