Type

public enum Mapbox.Layer.`Type` : String, Encodable

Sets the layer type, that is the how the layer data set in source will be rendered With sourcetype set to geojson, the following values are allowed: circle, line, fill and symbol.

but note that line and fill are not compatible with Point GeoJSON geometries. With sourcetype set to vector, the following values are allowed: circle, line, fill and symbol. With sourcetype set to raster or *image*, only the raster value is allowed.

  • Undocumented

    Declaration

    Swift

    case circle
  • Undocumented

    Declaration

    Swift

    case line
  • Undocumented

    Declaration

    Swift

    case fill
  • Undocumented

    Declaration

    Swift

    case symbol
  • Undocumented

    Declaration

    Swift

    case raster