Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

PolygonOptions InvokeStrokeColor Google maps v2 error

$
0
0

I am using this code to set a polygon on the map. It works great as long as I don't set the strokeColor. If I try and set the stroke color or the fill color the polygon doesn't show, or at least it is not visible. Can anybody help with this. Here is the example:

PolygonOptions poly = MapFunctions.DecodePolyline (assignPoly.Data); poly.InvokeFillColor (int.Parse ("33A02C", System.Globalization.NumberStyles.HexNumber)); poly.InvokeStrokeColor (int.Parse ("33A02C", System.Globalization.NumberStyles.HexNumber)); poly.InvokeStrokeWidth (3);

Any help would be greatly appreciated.

Shane


Viewing all articles
Browse latest Browse all 204402

Trending Articles