Say you have a full-screen map, with a sidebar panel div hovering over
the map on the right side. The sidebar is about 200px wide, 600px
tall, and offset by 10px from the right side of the window.

Now, if a number of markers are loaded, and I use bounds.extend
(point), etc., until finally, something like:

                map.setZoom(getBoundsZoomLevel(bounds));
                map.setCenter(bounds.getCenter());

...my question is, how should I compensate for the sidebar div, so
that when the map is zoomed and re-centered, the sidebar doesn't cover
the markers?

...Rene
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to