Companion

object Companion

Functions

Link copied to clipboard
fun createWithCameraViewpoint(cameraLocation: Point, heading: Double, pitch: Double, roll: Double, altitudeMode: KmlAltitudeMode): KmlViewpoint?

Creates a KML viewpoint from the provided camera location. KML viewpoint defines either a standalone camera independent of the point of interest being observed or a virtual camera in relation to the point of interest being observed.

Link copied to clipboard
fun createWithLookAtViewpoint(lookAtLocation: Point, heading: Double, pitch: Double, range: Double, altitudeMode: KmlAltitudeMode): KmlViewpoint?

Creates a KML viewpoint from the provided look at location. KML viewpoint defines either a standalone camera independent of the point of interest being observed or a virtual camera in relation to the point of interest being observed.

Link copied to clipboard

Creates a KML viewpoint from a viewpoint. KML viewpoint defines either a look at point or a camera, whereas a viewpoint must always have a look at point, and optionally also have a camera. A viewpoint that has a camera will create a KML viewpoint of type KmlViewpointType.Camera. A viewpoint that has no camera will create a KML viewpoint of type KmlViewpointType.LookAt.