FillLayer

public struct FillLayer : Layer

A filled polygon with an optional stroked border.

@see The online documentation

  • id

    Declaration

    Swift

    public var id: String
  • Declaration

    Swift

    public var type: LayerType
  • Declaration

    Swift

    public var filter: Expression?
  • Declaration

    Swift

    public var source: String?
  • Declaration

    Swift

    public var sourceLayer: String?
  • Declaration

    Swift

    public var minZoom: Double?
  • Declaration

    Swift

    public var maxZoom: Double?
  • Layer layout properties are applied early in the rendering process and define how data for that layer is passed to the GPU. Changes to a layout property require an asynchronous “layout” step.

    Declaration

    Swift

    public var layout: FillLayer.Layout?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Layout : Codable
  • Changes to a paint property are cheap and happen synchronously.

    Declaration

    Swift

    public var paint: FillLayer.Paint?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Paint : Codable
  • Undocumented

    Declaration

    Swift

    public init(id: String)