dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 164 forks source link

Polygon fillOpacity #429

Closed dimitriospafos closed 3 years ago

dimitriospafos commented 3 years ago

Hi,

Is there a way to set "fillOpacity" and "strokeOpacity" on a Polygon ? The only supported fields that I see currently are "fillColor", "strokeColor" and "strokeWidth". Is there any workaround for this ? Any help would be appreciated.

Polygon
nickolanack commented 3 years ago

https://docs.nativescript.org/ns-framework-modules/color

opacity can be defined in the color ie const colorARGB = new Color(100, 255, 100, 100);

dimitriospafos commented 3 years ago

Thank you @nickolanack!