I want to show a route between two points in Google Maps V2. I am able to achieve this with V1 but Google Map V2 does not support geopoints. So what should I do?
Asked
Active
Viewed 6,628 times
0
-
1http://stackoverflow.com/questions/14702621/answer-draw-path-between-two-points-using-google-maps-android-api-v2 – Archie.bpgc Feb 21 '13 at 09:52
-
@nitish patel follow the link given by Archie.bpgc – TNR Feb 21 '13 at 09:55
1 Answers
1
You can draw Polylines for routes. Docs here:
https://developers.google.com/maps/documentation/javascript/v2/overlays#Drawing_Polylines
If you mean drawing an actual route that you see in Google Maps directions, read the discussion here. Basically you'll need to utilize DirectionService