Class: SourceType

ol/source/type~SourceType


import SourceType from 'ol/source/type.js';

The source type for getSourceOptions.

new SourceType(name)

Creates a new SourceType.

Name Type Description
name string

The internal string identifier.

Members

GeoTIFF

GeoTiff

See:

ImageStatic

Static Image (ImageStatic)

See:

PMTilesRaster

PMTilesRaster

See:

PMTilesVector

GeoTiff

See:

TileJSON

TileJSON

See:

TileWMS

WMS (TileWMS)

See:

WMTS

WMTS

See:

XYZ

XYZ

See:

Methods

toString(){string}

Converts to a string.

Returns:
The internal string identifier.