KmlTour

external class KmlTour(var name: String, var id: String, var playlist: ReadonlyArray<Any>)(source)

Describes a KmlTour, which uses KmlTourFlyTo, and KmlTourWait to guide the camera to a specified destinations on given time intervals.

See also

Constructors

Link copied to clipboard
constructor(name: String, id: String, playlist: ReadonlyArray<Any>)

Properties

Link copied to clipboard

Event will be called when entry from playlist ends to play.

Link copied to clipboard

Event will be called when entry from playlist starts to play.

Link copied to clipboard
var id: String

id parsed from KML

Link copied to clipboard

name parsed from KML

Link copied to clipboard

array with KmlTourFlyTos and KmlTourWaits

Link copied to clipboard

Index of current entry from playlist

Link copied to clipboard

Event will be called when all playlist entries are played, or tour playback being canceled.

Link copied to clipboard

Event will be called when tour starts to play, before any playlist entry starts to play.

Functions

Link copied to clipboard

Add entry to this tour playlist.

Link copied to clipboard
fun play(widget: CesiumWidget, cameraOptions: Any? = definedExternally)

Play this tour.

Link copied to clipboard
fun stop()

Stop curently playing tour.