Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • can u explain in detail how to use the above code thanks in advance Commented Jun 11, 2013 at 11:50
  • So, basically, you need to extend ScrollView, override onInterceptTouchEvent and inside there, return false if the touch event happens to overlap the bounds of the google map view Commented Jun 11, 2013 at 13:55
  • what i need to write in onInterceptTouchEvent Commented Jun 15, 2013 at 6:27
  • I think is does not work properly, because it gets the initial position of the map and maintains it even after scrolling, so in the end, some parts of the map react to the touch, while others don't. Maybe it was my own implementation, though. Commented Jul 14, 2013 at 22:27
  • @AlvaroSantisteban you want to evaluate the rect each time the event was fired (as shown in my example parent.mMap.getHitRect(bound). storing the bound at one time could cause the problem you have described here, I believe. Commented Jul 15, 2013 at 6:36