Determines whether a basemap definition should be applied as a raster source (addSource/addLayer) or a vector style (setStyle). Image, hillshade, WMTS, and WMS types all return "raster" — they use the same sync removal path as XYZ raster tiles.
addSource
addLayer
setStyle
"raster"
Determines whether a basemap definition should be applied as a raster source (
addSource/addLayer) or a vector style (setStyle). Image, hillshade, WMTS, and WMS types all return"raster"— they use the same sync removal path as XYZ raster tiles.