GeometryDataOptions

public struct GeometryDataOptions

Specifies the parameters of the geometries to query.

  • 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.

  • 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?