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

Google Maps PolylineOptions SetColor not working... anyone?

$
0
0

The following renders a polyline on a map. The only thing I can not seem to get working is the SetColor method. SetWidth works fine.

_map.AddPolyline(new PolylineOptions().Add( new LatLng(53.4535409,-2.9682626), new LatLng(53.4547164,-2.9668893), new LatLng(53.4547164,-2.9668893), new LatLng(53.4555545,-2.9660568), new LatLng(53.4865944,-2.9020517) ).SetWidth(8).SetColor(Resource.Color.red));

I have searched but have little time to solve this. Can anyone can point me in the right direction?

Thanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>