qiuxiang / react-native-amap3d

react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS
https://qiuxiang.github.io/react-native-amap3d/api/
MIT License
1.28k stars 327 forks source link

在expo里面使用 amap3D 报AMapMarker was not found in the UIManaager错误 #760

Open hhy123540 opened 2 years ago

hhy123540 commented 2 years ago
hhy123540 commented 2 years ago

rn版本是0.68 amap3d版本是最新的

hhy123540 commented 2 years ago

@qiuxiang 大佬可以帮我看看这个问题吗 63d052da6c17c58b9cb00c813c86a2fb ~

qq382724935 commented 2 years ago

遇到了相同问题。ios @qiuxiang

hhy123540 commented 2 years ago

使用expo就别用这个地图组件了,没有集成在expo里面 一定要在expo里面使用地图的话你可以用webview+原生高德地图的方案

qq382724935 commented 2 years ago

使用npx初始化的项目,没用expo也出现了该问题

qq382724935 commented 2 years ago

使用expo就别用这个地图组件了,没有集成在expo里面 一定要在expo里面使用地图的话你可以用webview+原生高德地图的方案

使用jsapi吗

hhy123540 commented 2 years ago

使用expo就别用地图组件了,集成在expo里面一定要在expo里面使用地图的话你可以用webview+这个高德地图的方案

使用jsapi吗

是的 这是一种解决方案,expo使用地图 webview+原生高德可以解决,就是渲染没有amap3d快,

jmy10241024 commented 2 years ago

用上个版本3.1.2即可

wubaibin commented 1 year ago

rn版本是0.68 amap3d版本是最新的

我不是expo也遇到类似这样的问题。RN 0.68.2 map 3.1.1。请问怎么解决的

WechatIMG129

captain-c commented 1 year ago

如果是expo,先执行expo eject命令,然后再重新 npm install pod install