Class: TileDebug

Mapspace.source. TileDebug

A source based on ol.source.TileDebug with more options.


new TileDebug(options)

Parameters:
Name Type Description
options Mapspace.source.TileDebugOptions

Debug tile options.

Source:
mapspace/source/tiledebug.js

Extends

  • ol.source.Tile

Methods


getColor()

Gets the color for debug grids. The color is a CSS color. https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

Source:
mapspace/source/tiledebug.js
Returns:
Type
string

setColor(color)

Sets the color for debug grids. The color is a CSS color. https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

Parameters:
Name Type Description
color string

The color as a CSS color.

Source:
mapspace/source/tiledebug.js