AreaCode

data class AreaCode(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val countryCode: String, val regionCode: String) : HorizonElement

Describes area code of 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.

countryCode

The ISO country code of current position according to ISO-3166-1 alpha 3 code.

regionCode

The ISO 3166-2 state/province/region code.

Constructors

Link copied to clipboard
fun AreaCode(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, countryCode: String, regionCode: 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
Link copied to clipboard
open override val startOffset: Distance