createWithLookAtViewpoint

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.

Return

A KmlViewpoint, or null if the lookAtLocation spatial reference is a local coordinate system that can't be projected.

Since

200.1.0

Throws

if the lookAtLocation has no spatial reference.