Reputation:
I am working on the application that require the draw the path on the google map. Here Starting point is the current location
(latitude and langitude) of the user and when user change the place(walking/Driving)
then as per the moving position get the user's current location(latitude and langitude) and draw the path on the google map as per the user's location.
I able to draw path between fix point.For that I am refer this LINK.
Thanks.
Upvotes: 3
Views: 3911
Reputation: 3714
Use the Android Location API an example: http://www.vogella.com/articles/AndroidLocationAPI/article.html
and when you get your position, send the coordinates to google maps with an overlay for example.
Upvotes: 2