Get the origin for the grid at the given zoom level.
Z.
Origin.
stable
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.
Coordinate.
Resolution.
Optional
opt_tileCoord: TileCoordDestination ol.TileCoord object.
Tile coordinate.
Get a tile coordinate given a map coordinate and zoom level.
Coordinate.
Zoom level.
Optional
opt_tileCoord: TileCoordDestination ol.TileCoord object.
Tile coordinate.
Resolution.
Optional
opt_direction: numberIf 0, the nearest resolution will be used. If 1, the nearest lower resolution will be used. If -1, the nearest higher resolution will be used. Default is 0.
Z.
Static
createCreate a tile grid from a WMTS capabilities matrix set.
An object representing a matrixSet in the capabilities document.
Optional
opt_extent: ExtentAn optional extent to restrict the tile ranges the server provides.
WMTS tileGrid instance.
Generated using TypeDoc
Classdesc
Set the grid pattern for sources accessing WMTS tiled-image servers.
Param: options
WMTS options.
Struct
Api