OpenLayers.Map.getExtent() is what you're looking for.
Openlayer equivalent of Google Map's map.getBounds()
-
23-06-2023 - |
Frage
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.
Is there an equivalent in OpenLayers?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow