On Jan 26, 3:06 pm, Dommer <[email protected]> wrote: > So, I have a map: > > http://freeforthepicking.com/Indextest.html > > And I have a KML displayed on the map. As you can see, individual > polygons are not discernable at this magnification (And this is the > magnification I want to start at). > > What I would like to do is to tell the loader NOT to load the kml > until the zoom is below a certain level.
Then code it that way. > > So, at the zoom the page loads at the kml would be invisible, but once > you got down to zoom level 3 all of the polygons could be seen again. I think you mean zoom level 13 (that is the zoom level that your map starts at). There is an GMap2 event that gets called when the zoom level is changed: http://code.google.com/apis/maps/documentation/reference.html#GMap2.zoomend Use that to add and remove the overlay as you require. -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
