Type Definitions
-
olx.tilegrid.TileGridOptions{Object} experimental
-
Properties:
Name Type Argument Description minZoom
number | undefined <optional>
Minimum zoom. Default is 0.
origin
ol.Coordinate | undefined <optional>
Origin. Default is null.
origins
Array.<ol.Coordinate> | undefined <optional>
Origins. If given, the array should match the
resolutions
array, i.e. each resolution can have a different origin.resolutions
Array.<number> Resolutions.
tileSize
number | undefined <optional>
Tile size. Default is 256. (Only square tiles are supported.)
tileSizes
Array.<number> | undefined <optional>
Tile sizes. If given, the array should match the
resolutions
array, i.e. each resolution can have a different tile size. -
olx.tilegrid.WMTSOptions{Object} experimental
-
Properties:
Name Type Argument Description origin
ol.Coordinate | undefined <optional>
Origin.
origins
Array.<ol.Coordinate> | undefined <optional>
Origins.
resolutions
Array.<number> Resolutions.
matrixIds
Array.<string> matrix IDs.
tileSize
number | undefined <optional>
Tile size.
tileSizes
Array.<number> | undefined <optional>
Tile sizes.
-
olx.tilegrid.XYZOptions{Object} experimental
-
Properties:
Name Type Argument Description extent
ol.Extent | undefined <optional>
Extent for the tile grid. The origin for an XYZ tile grid is the top-left corner of the extent. The zero level of the grid is defined by the resolution at which one tile fits in the provided extent. If not provided, the extent of the EPSG:3857 projection is used.
maxZoom
number | undefined <optional>
Maximum zoom. The default is
ol.DEFAULT_MAX_ZOOM
. This determines the number of levels in the grid set. For example, amaxZoom
of 21 means there are 22 levels in the grid set.minZoom
number | undefined <optional>
Minimum zoom. Default is 0.
tileSize
number | undefined <optional>
Tile size in pixels. Default is 256. (Only square tiles are supported.)
-
olx.tilegrid.ZoomifyOptions{Object} experimental
-
Properties:
Name Type Description resolutions
Array.<number> Resolutions.