Region

data class Region(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val country: String, val subCountry: String) : HorizonElement

Describes a region on the horizon element.

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

Parameters

id

Identifier of this element.

pathId

Identifier of the path this element belongs to.

startOffset

Start offset on the path.

endOffset

End offset on the path.

country

Country name. Empty string if no country is assigned to the part of the path.

subCountry

State/province/region name. Empty string if no sub-country is assigned to the part of the path.

Constructors

Link copied to clipboard
fun Region(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, country: String, subCountry: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override val endOffset: Distance
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val pathId: Int
Link copied to clipboard
open override val startOffset: Distance
Link copied to clipboard