Issue
I have a mapview
inside a fragment
along with other UI components. When I click on map I want to open a new activity instead of zooming map in this view. Zooming should work on the new activity. Please guide me.
Solution
you need to use setAllGesturesEnabled(). This will disable pinching and panning. Please see documentation here:
As for handling a click event on map, see documentation for OnMapClickListener
here:
Inside the listener, you may start a new activity with another map view that is zoom-able.
Answered By - ihsan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.