Skip to content Skip to sidebar Skip to footer

Drawing A Real Time Route In Android, Google Maps V2

I'm looking for a better way at drawing a route on google map v2 on android in real time. I'm developing android route tracking application, so basically i have a service which con

Solution 1:

The method addPolyline returns a Polyline object, where you can use the method setPoints in subsequent calls, to set the full route (including your new location). I don't know wether this makes much difference if the route is the only element on the map. But if you have e.g. additional markers this is for sure better than always clearing the whole map.


Post a Comment for "Drawing A Real Time Route In Android, Google Maps V2"