Propagate events in several layers android google maps

我们两清 提交于 2020-01-04 05:29:14

问题


I'm developing a google maps based application for android 1.6.

My problem is that in my application I have more than one layer that extends from ItemizedOverlay representing information in the map.

The problem is that all the layers implement the onTap method, but now only the last layer (on the top of the stack) detects the tap event, so If the user taps on an item that is in a deeper item the method onTap never fires.

Is there any way to propagate the event to deeper layers?


回答1:


Fixed since android 2.0, it was a known issue of some phones including mine (MyTouch3G)



来源:https://stackoverflow.com/questions/1817828/propagate-events-in-several-layers-android-google-maps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!