RenderedFeature

public struct RenderedFeature

RenderedFeature class

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • Source Id of the feature.

    Declaration

    Swift

    public let sourceID: String
  • Properties object.

    Declaration

    Swift

    public let properties: [String : Any]?
  • The ID of the style layer that this feature belongs to.

    Declaration

    Swift

    public let styleLayerID: String
  • The ID of the source layer (in the data source) that this feature belongs to.

    Declaration

    Swift

    public let sourceLayerID: String
  • Enum containing geometry of a specific type.

    Declaration

    Swift

    public let geometry: GeoJSONGeometry?