Module: ol/source/TileDebug

ol/source/TileDebug


Classes

TileDebug

Type Definitions

Options{Object}

Properties:
Name Type Description
projection ProjectionLike
(defaults to 'EPSG:3857')

可选投影。

tileGrid TileGrid | undefined

瓦片网格。

wrapX boolean
(defaults to true)

是否水平环绕世界。

zDirection number | NearestDirection函数
(defaults to 0)

使用默认配置调试 VectorTile 数据源时设置为 1。选择在整数缩放级别之间使用更高还是更低缩放级别的瓦片。参见 getZForResolution

source TileSource | undefined

瓦片数据源。这允许从另一个数据源复制 projectiontileGridwrapXzDirection。如果同时指定了 source 和单独的选项,单独的选项将优先。

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

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

color string
(defaults to 'grey')

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