KML is rendered as an image tile set; it's not possible to recollection one polygon. However you could make a google.maps.Polygon and overlay that in a different color, so long as it is fully opaque.
On 24 Sep 2010 04:13, "Rossko" <[email protected]> wrote: >> Before to try to use KML i need to know if it's possible to change an >> options of a single polygon in a kmlLayer (like change color). > > http://code.google.com/apis/kml/documentation/kmlreference.html#polystyle > > But if you mean to change the colour after the KML is loaded, I do not > know of a way to do that if you use kmlLayer. > >> Every polygon have a unique id. > > No problem > http://code.google.com/apis/kml/documentation/kmlreference.html > > -- > 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]<google-maps-js-api-v3%[email protected]> . > For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- 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.
