GeometryDataOptions

data class GeometryDataOptions(@Size(min = 1, max = 20) val geometryIds: List<GeometryId>, @IntRange(from = 0, to = 22) val geometryZoom: Int? = null)

Defines the parameters of a geometry data request.

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

Constructors

Link copied to clipboard
fun GeometryDataOptions(@Size(min = 1, max = 20) geometryIds: List<GeometryId>, @IntRange(from = 0, to = 22) geometryZoom: Int? = null)

Properties

Link copied to clipboard

Geometry identifiers, previously retrieved from the search request. Maximum number of provided IDs is 20.

Link copied to clipboard
val geometryZoom: Int? = null

Defines the level of precision for the returned geometries. The higher the zoom level the more precise the geometry data. If the zoom level is not specified, then the result's default zoom level (i.e. the most precise geometry) is retrieved.