City

data class City(    val id: Int,     val pathId: Int,     val startOffset: Distance,     val endOffset: Distance,     val name: String) : HorizonElement

Describes a city on the horizon element.

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.

name

City name.

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

Constructors

Link copied to clipboard
fun City(    id: Int,     pathId: Int,     startOffset: Distance,     endOffset: Distance,     name: String)

Properties

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