Site object

interface Site {
    alt: number;
    course: Types.Course;
    cutoffs: WaypointCutoff[];
    description?: string;
    hasDelay?: boolean;
    id?: string | symbol;
    isFinish?: boolean;
    isStart?: boolean;
    lat: number;
    lon: number;
    name?: string;
    percent: number;
    waypoints: Types.Waypoint[];
    refreshLLA(): void;
}

Implemented by

Properties

alt: number

altitude of the site

course: Types.Course

course the site is associated with

cutoffs: WaypointCutoff[]

optional cutoffs for the site

description?: string

optional description for the site

hasDelay?: boolean

hasDelay - true if the site has a delay

id?: string | symbol

optional id for the site

isFinish?: boolean

isFinish - true if the site is the finish of the course

isStart?: boolean

isStart - true if the site is the start of the course

lat: number

latitude of the site

lon: number

longitude of the site

name?: string

optional name for the site

percent: number

percent of total distance along the track where the site is located

waypoints: Types.Waypoint[]

waypoints associated with the site

Methods

  • refresh the latitude, longitude, and altitude of the site

    Returns void