ol/source/TileDebug Module

类名

ZDTileDebug

A pseudo tile source, which does not fetch tiles from a server, but renders a grid outline for the tile grid/projection along with the coordinates for each tile. See examples/canvas-tiles for an example.

Uses Canvas context2d, so requires Canvas support.

类型定义

Object

# Options

属性:
Name Type Attributes Default Description
projection ProjectionLike

Projection.

tileGrid default <optional>

Tile grid.

wrapX boolean <optional>
true

Whether to wrap the world horizontally.

查看源代码 openlayers/layer/ZDTileDebug.js, line 75