new TileGrid
Parameters:
| Name | Type | Description |
|---|---|---|
tileGridOptions |
ol.tilegrid.TileGridOptions | Tile grid options. |
- Source:
- tilegrid.js, line 28
Methods
-
forEachTileCoordParentTileRange
-
Parameters:
Name Type Argument Description tileCoordol.TileCoord Tile coordinate. callbackfunction(this: T, number, ol.TileRange): boolean Callback. objT= <optional>
(Optional) Object. - Source:
- tilegrid.js, line 80
-
getOrigin
-
Parameters:
Name Type Description znumber Z. - Source:
- tilegrid.js, line 98
Returns:
Origin.- Type
- ol.Coordinate
-
getPixelBoundsForTileCoordAndResolution
-
Parameters:
Name Type Description tileCoordol.TileCoord Tile coordinate. resolutionnumber Resolution. - Source:
- tilegrid.js, line 114
Returns:
Pixel bounds.- Type
- ol.PixelBounds
-
getResolution
-
Parameters:
Name Type Description znumber Z. - Source:
- tilegrid.js, line 133
Returns:
Resolution.- Type
- number
-
getResolutions
-
- Source:
- tilegrid.js, line 142
Returns:
Resolutions.- Type
- Array.<number>
-
getTileCoordCenter
-
Parameters:
Name Type Description tileCoordol.TileCoord Tile coordinate. - Source:
- tilegrid.js, line 194
Returns:
Tile center.- Type
- ol.Coordinate
-
getTileCoordExtent
-
Parameters:
Name Type Description tileCoordol.TileCoord Tile coordinate. - Source:
- tilegrid.js, line 208
Returns:
Extent.- Type
- ol.Extent
-
getTileCoordForCoordAndResolution
-
Get the tile coordinate for the given map coordinate and resolution. This method considers that coordinates that intersect tile boundaries should be assigned the higher tile coordinate.
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. resolutionnumber Resolution. - Source:
- tilegrid.js, line 229
Returns:
Tile coordinate.- Type
- ol.TileCoord
-
getTileCoordForCoordAndZ
-
Parameters:
Name Type Description coordinateol.Coordinate Coordinate. znumber Z. - Source:
- tilegrid.js, line 271
Returns:
Tile coordinate.- Type
- ol.TileCoord
-
getTileCoordResolution
-
Parameters:
Name Type Description tileCoordol.TileCoord Tile coordinate. - Source:
- tilegrid.js, line 282
Returns:
Tile resolution.- Type
- number
-
getTileRangeExtent
-
Parameters:
Name Type Description znumber Z. tileRangeol.TileRange Tile range. - Source:
- tilegrid.js, line 152
Returns:
Extent.- Type
- ol.Extent
-
getTileRangeForExtentAndResolution
-
Parameters:
Name Type Description extentol.Extent Extent. resolutionnumber Resolution. - Source:
- tilegrid.js, line 169
Returns:
Tile range.- Type
- ol.TileRange
-
getTileRangeForExtentAndZ
-
Parameters:
Name Type Description extentol.Extent Extent. znumber Z. - Source:
- tilegrid.js, line 184
Returns:
Tile range.- Type
- ol.TileRange
-
getTileSize
-
- Source:
- tilegrid.js, line 291
Returns:
Tile size.- Type
- ol.Size
-
getZForResolution
-
Parameters:
Name Type Description resolutionnumber Resolution. - Source:
- tilegrid.js, line 300
Returns:
Z.- Type
- number