SourceType
public enum SourceType : String, Codable
Enum of Source Types Docs : https://docs.mapbox.com/mapbox-gl-js/style-spec/sources/
-
A vector tile source.
Declaration
Swift
case vector = "vector"
-
A raster tile source.
Declaration
Swift
case raster = "raster"
-
A raster DEM source.
Declaration
Swift
case rasterDem = "raster-dem"
-
A GeoJSON source.
Declaration
Swift
case geoJson = "geojson"
-
An image source.
Declaration
Swift
case image = "image"
-
A model source
Declaration
Swift
case model = "model"
-
The associated Swift struct type
Declaration
Swift
public var sourceType: Source.Type { get }