new Extent
Parameters:
| Name | Type | Description |
|---|---|---|
minX |
number | Minimum X. |
minY |
number | Minimum Y. |
maxX |
number | Maximum X. |
maxY |
number | Maximum Y. |
- Source:
- extent.js, line 17
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
-
Parameters:
Name Type Description var_argsol.Coordinate Coordinates. - Source:
- extent.js, line 27
Returns:
Bounding extent.- Type
- !ol.Extent
-
contains
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Source:
- extent.js, line 47
Returns:
Contains.- Type
- boolean
-
getCenter
-
- Inherited From:
- Source:
- rectangle.js, line 47
Returns:
Center.- Type
- ol.Coordinate
-
getHeight
-
- Inherited From:
- Source:
- rectangle.js, line 56
Returns:
Height.- Type
- number
-
getSize
-
- Inherited From:
- Source:
- rectangle.js, line 64
Returns:
Size.- Type
- ol.Size
-
getWidth
-
- Inherited From:
- Source:
- rectangle.js, line 72
Returns:
Width.- Type
- number
-
intersects
-
Parameters:
Name Type Description rectangleol.Rectangle Rectangle. - Inherited From:
- Source:
- rectangle.js, line 81
Returns:
Intersects.- Type
- boolean
-
normalize
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. - Inherited From:
- Source:
- rectangle.js, line 93
Returns:
Coordinate.- Type
- ol.Coordinate
-
toString
-
- Inherited From:
- Source:
- rectangle.js, line 103
Returns:
String.- Type
- string
-
transform
-
Parameters:
Name Type Description transformFnol.TransformFunction Transform function. - Source:
- extent.js, line 57
Returns:
Extent.- Type
- ol.Extent