Layers currently accept any Source (in the type system), but usually layers can accept one of: raster, raster-dem, or vector (tiles, geojson, computed, etc) sources. This should be enforced by the type system.
It's not trivial because we have UnknownSource.
Layers currently accept any Source (in the type system), but usually layers can accept one of: raster, raster-dem, or vector (tiles, geojson, computed, etc) sources. This should be enforced by the type system.
It's not trivial because we have
UnknownSource.