模块:ol/source/TileDebug

ol/source/TileDebug


TileDebug

类型定义

Options{Object}

属性:
Name Type 描述
projection ProjectionLike
(defaults to 'EPSG:3857')

可选投影。

tileGrid TileGrid | undefined

瓦片 网格.

wrapX boolean
(defaults to true)

是否水平环绕世界。

zDirection number | NearestDirectionFunction
(defaults to 0)

设为1调试时VectorTile具有默认配置的源。选择在整数缩放级别之间是否使用更高或更低缩放级别的图块。参见getZForResolution.

source TileSource | undefined

瓦片源。这允许projection, tileGrid, wrapXzDirection从其他来源复制。如果两者都。source当单独选项被指定时,这些选项将具有优先级。

template string
(defaults to 'z:{z} x:{x} y:{y}')

瓦片标注模板。应包含{x}, {y}{-y},和{z}占位符。

color string
(defaults to 'grey')

用于填充每个瓦片文本和网格线描边的CSS颜色。