jumpToPosition

jumpToPosition(TEPosition)

Jumps to a point in the 3D Window.

Parameters

Name

Type

Description

TEPosition

Object

Position to fly to, created using navigate.position.create.

Example

var g = TerraExplorer.navigate.position.create(

{cartesian: Cesium.Cartesian3.fromDegrees(3, 20, 0), headingPitchRange: new Cesium.HeadingPitchRange(0, Cesium.Math.toRadians(-89), 1000), altitudeType: TerraExplorer.AltitudeMethod.ABSOLUTE});

TerraExplorer.navigate.jumpToPosition(g, {complete: function() {console.log("finished")}});