Reputation: 21
I want to draw something like this:
gooogle maps example
but using osmdroid with OpenStreetMaps.
I have a set of GPS points prepared but I cannot find ay working example
Has anyone done this?
Upvotes: 0
Views: 3296
Reputation: 3450
PathOverlay will not do the job properly: it has been optimized for drawing lines, and this is causing issues when using it for filled polygons (when the polygon is partly inside the view, and partly outside).
You can use the OSMBonusPack Polgon overlay.
Upvotes: 1
Reputation: 63
A PathOverlay will give you the polygon. You may have to extend PathOverlay to create the fill color.
Upvotes: 0