java.lang.Object | |
↳ | com.amazon.geo.mapsv2.model.VisibleRegion |
Object representing the four sided polygon currently visible in the map. If the camera is tilted, this defines a trapezoid instead of a rectangle.
To get the current VisibleRegion
for the map, use
Projection.getVisibleRegion()
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
farLeft | Top left corner of the camera, as a LatLng
|
||||||||||
farRight | Top right corner of the camera, as a LatLng
|
||||||||||
latLngBounds | A LatLngBounds representing the smallest bounding box of the
visible region. |
||||||||||
nearLeft | Bottom left corner of the camera, as a LatLng
|
||||||||||
nearRight | Bottom right corner of the camera, as a LatLng
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a visible region given the four corners and the bounds.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
A LatLngBounds
representing the smallest bounding box of the
visible region.
Creates a visible region given the four corners and the bounds. No bounds checking is performed in this constructor.
nearLeft | The top left corner of the region. |
---|---|
nearRight | The top right corner of the region. |
farLeft | The bottom left corner of the region. |
farRight | The bottom right corner of the region. |
bounds | Bounding box of the region. |