objectivehtml / Google-Maps-for-Craft

The complete geolocation toolkit for Craft CMS.
Other
94 stars 20 forks source link

Polgyon Color Options #50

Closed BryanBelanger closed 8 years ago

BryanBelanger commented 8 years ago

I've created a map with several markers and a polygon. I've tried to set and change the fillColor and strokeColor options by following the wiki.

{{ craft.googleMaps.polygon('map', points, {strokeColor: '#ff0000}) }}

Above is an example of how I'm currently doing it. Has anyone else run into issues where you can not set the strokeColor or fillColor and it just defaults to black?

cameronwest commented 8 years ago

I've fixed this issue in an outstanding pull request:

https://github.com/objectivehtml/Google-Maps-for-Craft/pull/41

objectivehtml commented 8 years ago

Fixed and merged into the master branch. Closing this thread. Thanks for the help guys.