lovebing / react-native-baidu-map

Baidu Map SDK modules and views for React Native(Android & iOS), support react native 0.61+. 百度地图 React Native 模块,支持 react native 0.61+,已更新到最新的百度地图SDK版本。
MIT License
856 stars 322 forks source link

Overlay模块没有加载成功 #219

Closed Eafy closed 3 years ago

Eafy commented 5 years ago

下载最新的Demo,进行测试验证,发现无法加载Overlay文件夹中模块。如下图所示: img_6139

Eafy commented 5 years ago

而且在App.js中,Overlay.Marker或Overlay.InfoWindow,去掉其中一个能跑起来,但是没有效果,如果2个都写,则会出现上面的问题

lovebing commented 5 years ago

IOS 还没实现 Overlay,待优化,

Eafy commented 5 years ago

那请问iOS大概需要多久才能重新构建完成?

milobluebell commented 5 years ago

3个月过去了。。。

milobluebell commented 5 years ago

@lovebing 大神能快搞一下不?

KingAmo commented 5 years ago

IOS 还没实现 Overlay,待优化,

iOS现在还不支持 marker 吗??

Eafy commented 5 years ago

已经自己做marker了,作者貌似都没时间更新。

Eafy commented 5 years ago

Can you share your code, please?

You can search for react-native-baidu-map-jm, this branch is for my project needs, but I don't know if you can use it.

Eafy commented 5 years ago

Thank you for your replying, Eafy. It was a great library. I can see Baidu-map, also polygon and circle in the ios Version. I want to show a marker in the ios Baidu-map. But marker not working in ios version. Does it work?

You can download the latest code from github and I have fixed the problem.

Eafy commented 5 years ago

Thank you. And I found one issue. Does it work in Android? It's not working in Android.

It works on Android. But, example code has some problems. I am working on a fix.