• id

    Unique layer name

  • Rendering type of this layer.

  • A expression specifying conditions on source features. Only features that match the filter are displayed.

  • Name of a source description to be used for this layer. Required for all layer types except background.

  • Layer to use from a vector tile source. Required for vector tile sources. Prohibited for all other source types, including GeoJSON sources.

  • The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

  • The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

  • init(jsonObject:) Extension method

    Initializes a Layer given a JSON dictionary

    Throws

    Errors occurring during decoding