-
Creates a new SourceType.
Name Type Description namestring The internal string identifier.
Members
-
GeoTIFF
-
GeoTiff
-
GeoZarr
-
GeoZarr
-
ImageStatic
-
Static Image (
ImageStatic) -
PMTiles
-
PMTiles. Used before the tile type (raster or vector) has been determined, i.e.
options.urlapplies to both raster and vector tiles. -
PMTilesRaster
-
PMTilesRaster
- Deprecated
- Use
SourceType.PMTilesinstead, `getSourceOptions` is called with it before the tile type is known. For backward compatibility, callbacks that leave the options unchanged forSourceType.PMTilesare still called with this type after the tile type has been determined. This fallback will be removed in 2.0.0.
- Use
- See:
-
PMTilesVector
-
PMTilesVector
- Deprecated
- Use
SourceType.PMTilesinstead, `getSourceOptions` is called with it before the tile type is known. For backward compatibility, callbacks that leave the options unchanged forSourceType.PMTilesare still called with this type after the tile type has been determined. This fallback will be removed in 2.0.0.
- Use
- See:
-
TileJSON
-
TileJSON
-
TileWMS
-
WMS (
TileWMS) -
WMTS
-
WMTS
-
XYZ
-
XYZ
Methods
-
Converts to a string.
Returns:
The internal string identifier.