[Google Maps API v3] Re: Mapwindow coordinates?

2011-02-20 Thread Thoern
Good stuff! thanks :-) -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to

[Google Maps API v3] Re: Mapwindow coordinates?

2011-02-18 Thread Esa
Latitudes and longitudes: var bounds = map.getBounds(); var SW = bounds.getSouthWest(); var NE = bounds.getNorthEast(); var Xmin = SW.lng(); var Ymin = SW.lat(); var Xmax = NE.lng(); var Ymax = NE.lat(); -- You received this message because you are subscribed to the Google Groups Google Maps

[Google Maps API v3] Re: Mapwindow coordinates?

2011-02-18 Thread Martin™
And a LatLngBounds object has a toUrlValue() method which is handy if you want to get the map bounds and submit the values to your server: http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLngBounds Martin. On Feb 18, 1:34 pm, Esa esa.ilm...@gmail.com wrote: