Classes
Type Definitions
-
Properties:
Name Type Argument Default Description extentmodule:ol/extent~Extent <optional>
Extent for the tile grid. No tiles outside this extent will be requested by
module:ol/source/Tilesources. When nooriginororiginsare configured, theoriginwill be set to the top-left corner of the extent.minZoomnumber <optional>
0 Minimum zoom.
originmodule:ol/coordinate~Coordinate <optional>
The tile grid origin, i.e. where the
xandyaxes meet ([z, 0, 0]). Tile coordinates increase left to right and upwards. If not specified,extentororiginsmust be provided.originsArray.<module:ol/coordinate~Coordinate> <optional>
Tile grid origins, i.e. where the
xandyaxes meet ([z, 0, 0]), for each zoom level. If given, the array length should match the length of theresolutionsarray, i.e. each resolution can have a different origin. Tile coordinates increase left to right and upwards. If not specified,extentororiginmust be provided.resolutionsArray.<number> Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a
minZoomis configured, the resolutions array will have a length ofmaxZoom + 1.sizesArray.<module:ol/size~Size> <optional>
Sizes.
tileSizenumber | module:ol/size~Size <optional>
Tile size. Default is
[256, 256].tileSizesArray.<module:ol/size~Size> <optional>
Tile sizes. If given, the array length should match the length of the
resolutionsarray, i.e. each resolution can have a different tile size.