new TileRange
Parameters:
| Name | Type | Description |
|---|---|---|
minX |
number | Minimum X. |
minY |
number | Minimum Y. |
maxX |
number | Maximum X. |
maxY |
number | Maximum Y. |
- Source:
- tilerange.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> boundingTileRange
-
Parameters:
Name Type Description var_argsol.TileCoord Tile coordinates. - Source:
- tilerange.js, line 27
Returns:
Bounding tile box.- Type
- !ol.TileRange
-
contains
-
Parameters:
Name Type Description tileCoordol.TileCoord Tile coordinate. - Source:
- tilerange.js, line 48
Returns:
Contains tile coordinate.- Type
- boolean
-
containsTileRange
-
Parameters:
Name Type Description tileRangeol.TileRange Tile range. - Source:
- tilerange.js, line 58
Returns:
Contains.- Type
- boolean
-
equals
-
Parameters:
Name Type Description tileRangeol.TileRange Tile range. - Source:
- tilerange.js, line 68
Returns:
Equals.- Type
- boolean
-
forEachTileCoord
-
Parameters:
Name Type Description znumber Z. ffunction(this: T, ol.TileCoord) Callback. objT= (Optional) The object to be used for the value of 'this' within f. - Source:
- tilerange.js, line 80
-
getCenter
-
- Inherited From:
- Source:
- rectangle.js, line 47
Returns:
Center.- Type
- ol.Coordinate
-
getHeight
-
- Source:
- tilerange.js, line 94
Returns:
Height.- Type
- number
-
getSize
-
- Inherited From:
- Source:
- rectangle.js, line 64
Returns:
Size.- Type
- ol.Size
-
getWidth
-
- Source:
- tilerange.js, line 103
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