new Extent
Rectangular extent which is not rotated. An extent does not know its
projection.
Parameters:
| Name | Type | Description |
|---|---|---|
minX |
number | Minimum X. |
minY |
number | Minimum Y. |
maxX |
number | Maximum X. |
maxY |
number | Maximum Y. |
- Source:
- extent.js, line 20
Extends
Members
-
maxX :number
-
- Inherited From:
- Source:
- rectangle.js, line 34
-
maxY :number
-
- Inherited From:
- Source:
- rectangle.js, line 39
-
minX :number
-
- Inherited From:
- Source:
- rectangle.js, line 24
-
minY :number
-
- Inherited From:
- Source:
- rectangle.js, line 29
Methods
-
<static> boundingExtent
-
Builds an extent that includes all given coordinates.
Parameters:
Name Type Description var_argsol.Coordinate Coordinates. - Source:
- extent.js, line 32
Returns:
Bounding extent.- Type
- !ol.Extent
-
containsCoordinate
-
Checks if the passed coordinate is contained or on the edge of the extent.
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Source:
- extent.js, line 55
Returns:
Contains.- Type
- boolean
-
containsExtent
-
Checks if the passed extent is contained or on the edge of the extent.
Parameters:
Name Type Description extentol.Extent Extent. - Source:
- extent.js, line 68
Returns:
Contains.- Type
- boolean
-
equals
-
Parameters:
Name Type Description rectangleol.Rectangle Rectangle. - Inherited From:
- Source:
- rectangle.js, line 48
Returns:
Equals.- Type
- boolean
-
extend
-
Parameters:
Name Type Description rectangleol.Rectangle Rectangle. - Inherited From:
- Source:
- rectangle.js, line 57
-
getBottomLeft
-
- Source:
- extent.js, line 77
Returns:
Bottom left coordinate.- Type
- ol.Coordinate
-
getBottomRight
-
- Source:
- extent.js, line 85
Returns:
Bottom right coordinate.- Type
- ol.Coordinate
-
getCenter
-
- Inherited From:
- Source:
- rectangle.js, line 68
Returns:
Center.- Type
- ol.Coordinate
-
getHeight
-
- Inherited From:
- Source:
- rectangle.js, line 77
Returns:
Height.- Type
- number
-
getSize
-
- Inherited From:
- Source:
- rectangle.js, line 85
Returns:
Size.- Type
- ol.Size
-
getTopLeft
-
- Source:
- extent.js, line 93
Returns:
Top left coordinate.- Type
- ol.Coordinate
-
getTopRight
-
- Source:
- extent.js, line 101
Returns:
Top right coordinate.- Type
- ol.Coordinate
-
getWidth
-
- Inherited From:
- Source:
- rectangle.js, line 93
Returns:
Width.- Type
- number
-
intersects
-
Parameters:
Name Type Description rectangleol.Rectangle Rectangle. - Inherited From:
- Source:
- rectangle.js, line 102
Returns:
Intersects.- Type
- boolean
-
normalize
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Inherited From:
- Source:
- rectangle.js, line 114
Returns:
Coordinate.- Type
- ol.Coordinate
-
scaleFromCenter
-
Parameters:
Name Type Description valuenumber Value. - Inherited From:
- Source:
- rectangle.js, line 132
-
toString
-
- Inherited From:
- Source:
- rectangle.js, line 124
Returns:
String.- Type
- string
-
transform
-
Parameters:
Name Type Description transformFnol.TransformFunction Transform function. - Source:
- extent.js, line 110
Returns:
Extent.- Type
- ol.Extent