react-native-amap3d
react-native-amap3d copied to clipboard
react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS
` { clickMap(e.nativeEvent); }} mapType={MapType.Standard} initialCameraPosition={{ target: { latitude: 40.91095, longitude: 116.37296, }, zoom: 12, }}> ` android12 机型荣耀 X40 GT react-native: 0.71.0 => 0.71.0
大佬,可以帮忙看看吗?  "react-native": "0.73.8", "react-native-amap-geolocation": "^1.2.3", "react-native-amap3d": "^3.2.4",
【跪求支援!】 设备:安卓 RN版本:0.67.5 函数式组件
是否有计划支持新架构?
新架构推出很长时间了,新架构提升还是比较明显的
## 以下是个简化后的例子,Map2里有MapView ### 从Feed里跳转到Map2,正常 ### 重点:从Map2返回,直接返回到桌面了,不会返回到Feed ### 如果删除掉Map2里的MapView,从Map2返回到Feed就正常了 ### 求解答,困扰很久了,实在不知道从哪入手 ```js function Feed({ navigation }) { return ( Feed Screen navigation.navigate('Map2')} /> ); } function Home() { return ( );...
AMapSdk.init( Platform.select({ android: "c52c7169e6df23490e3114330098aaac", ios: "186d3464209b74effa4d8391f441f14d", }) ); 如果在使用地图当前的组件useEffect里来初始化key,第一次打开地图时会白屏,这是由于key的设置异步导致的吗? 除了提前init Key之外,能优化一个AMapSdk.init的回调就更好啦
遍历生成MapView,后面的MapView会出现黑屏现象,Modal中的MapView也会出现黑屏现象,能否提供一个解决思路 这是版本 "react-native-amap3d": "^3.2.4", ` {logs.map((item, index) => ( {item.lat && item.lon && ( { setClickLatLon({lat: Number(item?.lat), lon: Number(item?.lon)}) setMapVisible(true) }}> )} setMapVisible(false)} maskClosable={true} closable={false} style={{borderTopLeftRadius: 20, borderTopRightRadius: 20}} transparent={false}>...