On Mar 5, 10:11 pm, John Harris <[email protected]> wrote: > Has anyone example code of clicking an external control, like a > checkbox, and making a corresponding change on a map (like a fillColor > on a polygon for example)? > > I've tried polygon.setOptions({strokeColor: rgbhex}), I've tried > polygon.setMap(null) and then re-doing a new google.maps.Polygon and a > polygon.setMap(map), none of it actually rediaplays with the new > color. I suspect I need a listener event of some sort but I can't see > any that would be relevant.
You mean examples like these? http://www.geocodezip.com/geoxml3_test/v3_geoxml3_polygon_highlight.html http://www.geocodezip.com/geoxml3_test/v3_geoxml3_tennis-lines_highlight.html -- Larry -- 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.
