Yes, that's how to do it: add a handler for the map's "zoom_changed" event then change the visibility of your polygons depending on the current zoom level. I do something like this for hiding labels at low zoom levels and showing them when the map is zoomed in beyond a threshold value.
On Aug 3, 11:28 am, Nathan Handley <[email protected]> wrote: > Hi, > > Is there a way like markermanager to have a polygon only visible at > certain zoom levels? I have looked but can't seem to find any > answers. I suppose I could have a javascript function that tests for > current zoom level and then changes visibility based on that. Just > trying to not reinvent the wheel. > > Any insight would be great. > TIA -- 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.
