Hello
I centre the map on the marker when the info window is opened, with:
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowTabsHtml(marker.tabs, {maxWidth:250,
maxHeight:200, autoScroll:true});
map.setCenter(marker.getPoint());
});
Is there any way to offset? eg, set it to center, but -50 pixels on
the y axis? The top of the info window is disappearing beneath my
page title which is on a layer above the map. I could do with opening
it slightly south of centre if you see what I mean. Possible?
Many thanks for reading this.
Julian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---