Class: LookAtNavigator

LookAtNavigator(worldWindow)

Represents a navigator that enables the user to pan, zoom and tilt the globe. This navigator automatically responds to user-input events and gestures.

Constructor

new LookAtNavigator(worldWindow)

Constructs a look-at navigator.
Parameters:
Name Type Description
worldWindow WorldWindow The WorldWindow to associate with this navigator.
Source:

Extends

Members

heading :Number

This navigator's heading, in degrees clockwise from north.
Type:
  • Number
Overrides:
Default Value:
  • 0
Source:

lookAtLocation :Location

The geographic location at the center of the viewport.
Type:
Source:

range :Number

The distance from this navigator's eye point to its look-at location.
Type:
  • Number
Default Value:
  • 10,000 kilometers
Source:

roll :Number

This navigator's roll, in degrees.
Type:
  • Number
Overrides:
Default Value:
  • 0
Source:

tilt :Number

This navigator's tilt, in degrees.
Type:
  • Number
Overrides:
Default Value:
  • 0
Source:

(readonly) worldWindow :WorldWindow

The WorldWindow associated with this navigator.
Type:
Inherited From:
Source:

Methods

currentState() → {NavigatorState}

Returns the current state of this navigator. Subclasses must override this method.
Overrides:
Source:
Returns:
The current state of this navigator.
Type
NavigatorState

(protected) currentStateForModelview(modelviewMatrix) → {NavigatorState}

Returns the current navigator state for a specified model-view matrix. This method is meant to be called only by subclasses; applications should not call this method.
Parameters:
Name Type Description
modelviewMatrix Matrix The modelview matrix.
Inherited From:
Source:
Throws:
If the specified matrix is null or undefined.
Type
ArgumentError
Returns:
The current navigator state.
Type
NavigatorState