GeometryDataOptions

public struct GeometryDataOptions

Specifies the parameters of the geometries to query.

Lifecycle

  • In case of big geometry, e.g. full country, it’s strongly recommended to use a lower geometryZoom level to limit the vertices in the geometry which results in faster rendering.

    Declaration

    Swift

    public init(geometryIDs: [String], geometryZoom: Int? = nil)

    Parameters

    geometryIDs

    List of IDs previously retrieved from a Search request. Maximum number of IDs: 20.

    geometryZoom

    Defines the precision of the geometries. Maximum value: 22.

Public

  • List of IDs previously retrieved from a Search request. Maximum number of IDs: 20.

    Declaration

    Swift

    public let geometryIDs: [String]
  • Defines the precision of the geometries. Maximum value: 22.

    Declaration

    Swift

    public let geometryZoom: Int?