문제

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?

도움이 되었습니까?

해결책

OpenLayers.Map.getExtent() is what you're looking for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top