I'm trying to use some of my custom overlays from GMaps V1.1 and have a custom overlay that can be used in my GMaps V2 MapView. I've read some tutorials on using Markers to add custom overlays however that's not what I want to. I want to draw a line a certain color depending on speed. How can I add this custom overlay to map? I basically trying to draw a polyline where ever a person goes location-wise.
Asked
Active
Viewed 802 times
0

MaciejGórski
- 22,187
- 7
- 70
- 94

user268397
- 1,917
- 7
- 38
- 56
-
hi did you found the concept to draw different colored polyline in map in android – prasanthMurugan Nov 25 '16 at 10:54
1 Answers
0
GoogleMap.addPolyline
is your friend.
Anyway it would be good if you just forget all the code you wrote for API v1. These APIs are not compatible.

MaciejGórski
- 22,187
- 7
- 70
- 94