Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description projection
module:ol/proj~ProjectionLike <optional>
'EPSG:3857' Optional projection.
tileGrid
module:ol/tilegrid/TileGrid~TileGrid <optional>
Tile grid.
wrapX
boolean <optional>
true Whether to wrap the world horizontally.
zDirection
number | module:ol/array~NearestDirectionFunction <optional>
0 Set to
1
when debuggingVectorTile
sources with a default configuration. Choose whether to use tiles with a higher or lower zoom level when between integer zoom levels. Seemodule:ol/tilegrid/TileGrid~TileGrid#getZForResolution
.template
string <optional>
'z:{z} x:{x} y:{y}' Template for labeling the tiles. Should include
{x}
,{y}
or{-y}
, and{z}
placeholders.