Issue
How to place a pushpin in middle of the MapView so that we can move navigate the a location to that pushpin to select that location.
Solution
There are many approaches you can implement to achieve this.
You can add MapView and push pin(image view) to relative layout, and set property of push pin center in parent, on click on push pin calculate mid-point of map, and work accordingly.
Calculate MapView's center point, and add overlay on that point. Override on touch event, and onKeyUp event, recalculate mid point, and redraw overlay.
Answered By - jeet
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.