Class: EarthCoordinates

og.control.EarthCoordinates

new og.control.EarthCoordinates(options)

Control displays mouse or screen center Earth coordinates.
Name Type Description
options Object optional Options:
Name Type Description
center Boolean optional Earth coordiantes by screen center otherwise mouse pointer. False is default.
type Boolean optional Coordinates shown: 0 - is decimal degrees, 1 - degrees, 2 - mercator geodetic coordinates.

Extends

Members

protected_initializedBoolean

Control initialized.

activeBoolean

Control activity.

autoActivateBoolean

Auto activation flag.

positionog.math.Vector3

Current position.

rendererog.Renderer

Assigned renderer.

Methods

Activate control.
Assign renderer to the control.
Deactivate control.
Control activation function have to be overriden.
Control renderer assigning function have to be overriden.

inherited abstractondeactivate()

Control deactivation function have to be overriden.
Control initialization function have to be overriden.
Control remove function have to be overriden.
Assign renderer to the control.
Sets coordinates capturing type.
Name Type Description
center Boolean True - capture screen center, false - mouse pointer.