In the Google Map's javascript API you can call map.getBounds().getNorthEast() or map.getBounds().getSouthWest(), which returns the coordindates for the currently visible viewport.
Strictly, there are no equivalent functions in OpenLayers, but OpenLayers.Map.getExtent() returns the data in a data structure that you can use to calculate these values.
- jack
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
OpenLayers.Map.getExtent()returns the data in a data structure that you can use to calculate these values. - jack