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

把MapView放在ScrollView里,滑动地图时,需要暂时屏蔽父级ScrollView的触发事件 #20

Closed
linwenchao opened this issue Mar 1, 2018 · 5 comments

Comments

@linwenchao
Copy link

如题

@linwenchao linwenchao changed the title 把MapView放在ScrollView里,滑动地图时,需要暂时屏蔽上级ScrollView的触发事件 把MapView放在ScrollView里,滑动地图时,需要暂时屏蔽父级ScrollView的触发事件 Mar 1, 2018
@qiuxiang
Copy link
Owner

qiuxiang commented Mar 1, 2018

详细说明下你的预期,还有实际存在的问题

@linwenchao
Copy link
Author

把MapView内嵌在ScrollView或FlatList之类的本身有滑动事件响应的控件里时,
上下滑动时MapView本身的拖拽事件就被拦截了,
具体更多描述可参考 https://stackoverflow.com/questions/6546108/mapview-inside-a-scrollview

另,这个baidumap sdk做得实在好用,且更新频繁响应及时,非常感谢!
目前看,是否优先级比amap sdk要高?
想确认一下,如果baidumap sdk比amap sdk权重更高的话,我就用这个了,就是坐标要双向做多一重转换。

@ghost
Copy link

ghost commented Mar 2, 2018

我也觉得baidu的地图要好一些 期待后续更多的功能

@linwenchao
Copy link
Author

看到更新了,不过这问题在iOS上也存在啊 @qiuxiang

@qiuxiang
Copy link
Owner

qiuxiang commented Mar 5, 2018

之后再看

qiuxiang added a commit that referenced this issue Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants