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: > 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 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-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.