Skip to content

Interface: TileLayerOptions ​

Defined in: autk-map/src/layer-tiles.ts:34

Options for a TileLayer.

Extends ​

Properties ​

crs? ​

optional crs?: string

Defined in: autk-map/src/layer-tiles.ts:38

Coordinate system of the map. Defaults to 'EPSG:3395'.


maxCachedTiles? ​

optional maxCachedTiles?: number

Defined in: autk-map/src/layer-tiles.ts:40

Tiles kept in memory. Defaults to 256.


maxDistanceInHeights? ​

optional maxDistanceInHeights?: number

Defined in: autk-map/src/tile-selection.ts:70

Farthest ground distance, in multiples of the camera height, that the selection reaches. Must be positive. Defaults to 20.

Inherited from ​

TileSelectionOptions.maxDistanceInHeights


maxTiles? ​

optional maxTiles?: number

Defined in: autk-map/src/tile-selection.ts:65

Most tiles in one selection. Defaults to 64.

Inherited from ​

TileSelectionOptions.maxTiles


source ​

source: TileSource

Defined in: autk-map/src/layer-tiles.ts:36

Where the tiles come from.


zoomBias? ​

optional zoomBias?: number

Defined in: autk-map/src/tile-selection.ts:63

Added to the chosen zoom: positive for sharper tiles, negative for fewer. Defaults to 0.

Inherited from ​

TileSelectionOptions.zoomBias

Released under the MIT License.