Conditions: map api v3, jquery ui map, add marker bounds true.
Operation: 1.When I add markers the zoom properly and automatically adjusts to include all the markers.
- However, as I decrease the quantity of makers the zoom does not re-adjust to include the remaining markers.
Is this a bug, does anyone know of a site where I can test this. I can provide a url if more information is needed.
Thank you
After each new marker is added, the bounds need to be updated like so:
If you ever need to reset the bounds totally, remove markers, or add a new set of markers, you can do this:
Hope that helps you next time, or a Googler :)