Hi
I need to change to fillColor of the KmlLayer(s) with Javascript
(dynamically)
Is this possible with Google Maps ?
I can see it's possible to dynamically change the polygon fillColor
using for example
new google.maps.Polygon({
paths: triangleCoords,
strokeColor: "#FF0000",
strokeOpacity: 0.8,
strokeWeight: 2,
fillColor: "#FF0000",
fillOpacity: 0.35
});
But fillColor is not an option in KmlLayer constructor.
Actually I would plan to use FusionTablesLayer if that makes any
difference.
Also reading the websites I see some people have tried this using
GeoXml3
So is it possible to get the polygon from the kmlLayer and set the
fillColor?
Or do I need to use GeoXml3 ?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.