RenderedFeatureQueryOptions

public struct RenderedFeatureQueryOptions

Rendered features query.

Lifecycle

  • RenderedFeatureQueryOptions init method.

    Declaration

    Swift

    public init(
        layerIDs: [String] = [],
        sourceIDs: [String] = [],
        filter: String = "",
        withGeometry: Bool = false
    )

    Parameters

    layerIDs

    Layer IDs set in the query options.

    sourceIDs

    Source IDs set in the query options.

    filter

    Filter expression set in the query options.

    withGeometry

    Flag indicating that geometry should be included in RenderedFeature.

Public

  • Layer IDs set in the query options.

    Declaration

    Swift

    public let layerIDs: [String]
  • Source IDs set in the query options.

    Declaration

    Swift

    public let sourceIDs: [String]
  • Filter expression set in the query options.

    Declaration

    Swift

    public let filter: String
  • Flag indicating that geometry should be included in RenderedFeature.

    Declaration

    Swift

    public let includesGeometry: Bool