Hi Marcelo,

thanks a lot for your answer, it works!!

I'm using now:
 var zoom = map.getZoom();
 var proj = map.getCurrentMapType().getProjection();
 var NEPx = proj.fromLatLngToPixel(bounds.getNorthEast(), zoom);
 var newNEPx = new GPoint(NEPx.x + 300, NEPx.y + 50);
 var newNE = proj.fromPixelToLatLng(newNEPx,zoom);
 bounds.extend(newNE);

(and basically the same for South West)

:-)

Best regards,

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