Reputation: 1820
How can get the coordinates, if a user is clicking into the Map by MapViewer? I need two coordinate a start and destination for my routing app. Therefore the user has to click into the map and the app should return the coordinates and set a point on the location. The same should be done for the second click. Afterwards both clicks should be processed by the routing algorithm. I couldn't find any how to or something else which would be related to API17.
Upvotes: 2
Views: 2797
Reputation: 1761
Try these links:-
How do I get the coordinates of a map on tap with MapFragment (not MapView)?
OR
Getting coordinates when clicking anywhere on a MapView
OR
Get the center coordinates of map in Android Mapview
This may help you..........
Upvotes: 3