Hello everyone,

I'm trying to figure out if there is a way to add a padding onto the
map.
I'm currently filling a bounds object with my markers and then use
this snippet for zooming in on them:

        newzoom = map.getBoundsZoomLevel(bounds);
        newcenter = bounds.getCenter();
        map.setCenter(newcenter,newzoom);

Now I want some space around the markers (there will be a content
layer above the map on one side, so the markers should not be behind
the layer), you could say a padding of 150px all around the marker
bounds.

Unfortunately I've got no online example of what I'm trying to do, but
I hope it's clear from the description only.

Thankful for any help!

Susanne

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