Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotation.onFocus ? map.onAnnotationFocus ? map.onMarkerClick ? #8

Open
weixingsun opened this issue Jun 22, 2016 · 2 comments
Open

Comments

@weixingsun
Copy link

今天想加一个地点的点击事件,试了好半天,一个也没会用。
@yiyangest 能share一段work的code吗?谢谢

@yiyangest
Copy link
Owner

点击事件当时只是按照ReactNative官方的MapView的实现方式封装了百度的iOS SDK,不过并没有经过测试。Android SDK没有进行封装。 Sorry。。

@weixingsun
Copy link
Author

哦,我看到ios的代码了,一会儿试试看
是的,我在android下面的我感觉baidu地图android SDK很奇怪,marker类没有个id,让人头疼啊,
该怎么找annotation呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants