Class: EarthCoordinates

og/control/EarthCoordinates~EarthCoordinates

Control displays mouse or screen center Earth coordinates.

new EarthCoordinates(options)

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

  • og.control.Control

Members

positionog.Vec3

Current position.

Methods

Sets coordinates capturing type.
Name Type Description
center Boolean True - capture screen center, false - mouse pointer.