ol/source/TileDebug
Classes
- TileDebug
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description projectionProjectionLike
(defaults to 'EPSG:3857')Optional projection.
tileGridTileGrid | undefined Tile grid.
wrapXboolean
(defaults to true)Whether to wrap the world horizontally.
zDirectionnumber | NearestDirectionFunction
(defaults to 0)Set to
1when debuggingVectorTilesources with a default configuration. Choose whether to use tiles with a higher or lower zoom level when between integer zoom levels. SeegetZForResolution.sourceTileSource | undefined Tile source. This allows
projection,tileGrid,wrapXandzDirectionto be copied from another source. If bothsourceand individual options are specified the individual options will have precedence.templatestring
(defaults to 'z:{z} x:{x} y:{y}')Template for labeling the tiles. Should include
{x},{y}or{-y}, and{z}placeholders.colorstring
(defaults to 'grey')CSS color to fill text and stroke grid lines of each tile.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_source_TileDebug.html