LayerType

public enum LayerType : String, Codable

Layer rendering types

  • A filled polygon with an optional stroked border.

    Declaration

    Swift

    case fill
  • A stroked line.

    Declaration

    Swift

    case line
  • An icon or a text label.

    Declaration

    Swift

    case symbol
  • A filled circle.

    Declaration

    Swift

    case circle
  • A heatmap.

    Declaration

    Swift

    case heatmap
  • An extruded (3D) polygon.

    Declaration

    Swift

    case fillExtrusion = "fill-extrusion"
  • Raster map textures such as satellite imagery.

    Declaration

    Swift

    case raster
  • Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.

    Declaration

    Swift

    case hillshade
  • The background color or pattern of the map.

    Declaration

    Swift

    case background
  • Layer representing the location indicator

    Declaration

    Swift

    case locationIndicator = "location-indicator"
  • sky

    Layer representing the sky

    Declaration

    Swift

    case sky
  • Undocumented

    Declaration

    Swift

    case model
  • Declaration

    Swift

    public init?(rawValue: String)
  • The associated Swift struct type

    Declaration

    Swift

    public var layerType: Layer.Type { get }