Angular controller

controller source

Methods

activate

Function to be run when tracking is activated

addFeature (lonLatArray)

(PRIVATE) Add feature to source of vector layer

Parameters

NameTypeDescription
lonLatArray type

clearAll

Clears points from map and observations from table

deactivate

Function to be run when tracking is deactivated

loadValues

Load positions and observations from SensLog

startTracking

Run when clicking start tracking button, load values in defined interval

stopTracking

Run when clicking stop tracking button, cleans tracking