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 z
number Z.
Returns:
Origin.
-
getResolution(z){number} inherited
-
Name Type Description z
number 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 coordinate
ol.Coordinate Coordinate.
resolution
number Resolution.
tileCoord
ol.TileCoord Destination ol.TileCoord object.
Returns:
Tile coordinate.
-
getTileCoordForCoordAndZ(coordinate, z, opt_tileCoord){ol.TileCoord} inherited experimental
-
Name Type Description coordinate
ol.Coordinate Coordinate.
z
number Z.
tileCoord
ol.TileCoord Destination ol.TileCoord object.
Returns:
Tile coordinate.
-
getTileSize(z){number} inherited
-
Name Type Description z
number Z.
Returns:
Tile size.