new ol.tilegrid.XYZ(options) experimental
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
XYZ options.
|
||||||||||||||||
Extends
Methods
-
getMaxZoom(){number} inherited experimental
-
Returns:
Max zoom.
-
getMinZoom(){number} inherited experimental
-
Returns:
Min zoom.
-
getOrigin(z){ol.Coordinate} inherited
-
Name Type Description znumber Z.
Returns:
Origin.
-
getResolution(z){number} inherited
-
Name Type Description znumber Z.
Returns:
Resolution.
-
getResolutions(){Array.<number>} inherited
-
Returns:
Resolutions.
-
getTileCoordForCoordAndResolution(coordinate, resolution, opt_tileCoord){ol.TileCoord} inherited experimental
-
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.
Name Type Description coordinateol.Coordinate Coordinate.
resolutionnumber Resolution.
tileCoordol.TileCoord Destination ol.TileCoord object.
Returns:
Tile coordinate.
-
getTileCoordForCoordAndZ(coordinate, z, opt_tileCoord){ol.TileCoord} inherited experimental
-
Name Type Description coordinateol.Coordinate Coordinate.
znumber Z.
tileCoordol.TileCoord Destination ol.TileCoord object.
Returns:
Tile coordinate.
-
getTileSize(z){number} inherited
-
Name Type Description znumber Z.
Returns:
Tile size.