Hello, I'm using GLatLngBounds.extend as I add markers to make sure they are all displayed on the screen at the same time. Working great!
However, when a marker is removed (that is, let's say, the furthest one), I'd like to decrease the bound size (to adjust the zoom correctly)... because I'm using this: map.setZoom(map.getBoundsZoomLevel(bounds)); // set zoom level to fit all the points map.setCenter(bounds.getCenter()); // center the map based on all points Let's say all my markers are in America... then I add one in Australia. The bound is extended and the map zoom out automatically. If I delete the marker in Australia, I'd like to decrease the bound to zoom in the map automatically. Can this be done? Thanks for your help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
