From the Google Maps API, I see the getFeatureStyle
function, but that requires you to pass in a feature ID. I want to change the fill/stroke opacity of the whole layer. Is this possible?
Was looking here, and tried to play around with the layer object, the only interesting functions were the set/get
, which I think set arbitrary properties. Apart from that I see no way to do that, or even loop through all the features to toggle each one, which would be slow..
Here's the API.