hello everybody, i use this code: var asapZoom = map.getBoundsZoomLevel(spBounds); if (asapZoom > 0) asapZoom = asapZoom-1; map.setZoom(asapZoom); map.setCenter(spBounds.getCenter());
but's not working, sometimes zoomlevel is too much for that zone and my user must zoom-out. i've read somewhere that i can detect <p> in map, so i can detect that zoom level's too much. there is a better way to detect if getBoundsZoomLevel returns a valid zoom level? thank u. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
