Class: PositionTracker

PositionTracker

PositionTracker constructor

new PositionTracker(options)

Parameters:
Name Type Description
options AbstractTracker.position_configuration Position tracker configuration

Extends

Methods


attachTo(globeContext)

Attaches the tracker to the globe.
Parameters:
Name Type Description
globeContext Globe globe
Overrides:

detach()

Detaches the tracker from the globe
Overrides:

update(event)

Update the tracker
Parameters:
Name Type Description
event object
Overrides:

compute(geoPosition)

Compute position from a specific point
Parameters:
Name Type Description
geoPosition
Overrides:
Returns:
coordinates
Type
number