Class Garmin.Track

Object
   |
   +--Garmin.Track

class Garmin.Track


Garmin.Track
Defined in GarminGpsDataStructures.js


Constructor Summary
Garmin.Track()
            A track is an ordered list of track segments.
Equivalent to a in GPX format.
 
Method Summary
 Garmin.TrackPoint __Garmin.Track.addSegment(trackSegment)
           Add a segment to this track
 String __Garmin.Track.getDuration()
           Get the total duration for this track
 Garmin.TrackPoint __Garmin.Track.getEnd()
           Get the end point for the track
 Garmin.DateTimeFormat __Garmin.Track.getEndDate()
           Get the DateTimeFormat object for the end of this track
 Garmin.TrackSegment __Garmin.Track.getFirstSegment()
           Get the first segment
 Garmin.TrackSegment __Garmin.Track.getLastSegment()
           Get the last segment
 Number __Garmin.Track.getLength()
           Get the total number of trackpoints in this track
 Number __Garmin.Track.getNumSegments()
           Get the total length of the track
 Garmin.TrackSegment __Garmin.Track.getSegment(index)
           Get the segment specified on the track If the number is negative, get's the first If it's larger than possible, get's the last Otherwise it gets the number requested
 Garmin.TrackPoint __Garmin.Track.getStart()
           Get the start point for the track
 Garmin.DateTimeFormat __Garmin.Track.getStartDate()
           Get the DateTimeFormat object for the start of this track
 Number __Garmin.Track.getStartLat()
           Get the latitude of the start point for the track
 Number __Garmin.Track.getStartLng()
           Get the lpngitude of the start point for the track
 Boolean __Garmin.Track.isDrawable()
          
 Garmin.TrackPoint addSegment(trackSegment)
           Add a segment to this track
 String getDuration()
           Get the total duration for this track
 Garmin.TrackPoint getEnd()
           Get the end point for the track
 Garmin.DateTimeFormat getEndDate()
           Get the DateTimeFormat object for the end of this track
 Garmin.TrackSegment getFirstSegment()
           Get the first segment
 Garmin.TrackSegment getLastSegment()
           Get the last segment
 Number getLength()
           Get the total number of trackpoints in this track
 Number getNumSegments()
           Get the total length of the track
 Garmin.TrackSegment getSegment(index)
           Get the segment specified on the track If the number is negative, get's the first If it's larger than possible, get's the last Otherwise it gets the number requested
 Garmin.TrackPoint getStart()
           Get the start point for the track
 Garmin.DateTimeFormat getStartDate()
           Get the DateTimeFormat object for the start of this track
 Number getStartLat()
           Get the latitude of the start point for the track
 Number getStartLng()
           Get the lpngitude of the start point for the track
 void initialize()
          
 Boolean isDrawable()
          
 Object toString()
          

Constructor Detail

Garmin.Track

Garmin.Track()

Method Detail

__Garmin.Track.addSegment

Garmin.TrackPoint __Garmin.Track.addSegment(trackSegment)

__Garmin.Track.getDuration

String __Garmin.Track.getDuration()

__Garmin.Track.getEnd

Garmin.TrackPoint __Garmin.Track.getEnd()

__Garmin.Track.getEndDate

Garmin.DateTimeFormat __Garmin.Track.getEndDate()

__Garmin.Track.getFirstSegment

Garmin.TrackSegment __Garmin.Track.getFirstSegment()

__Garmin.Track.getLastSegment

Garmin.TrackSegment __Garmin.Track.getLastSegment()

__Garmin.Track.getLength

Number __Garmin.Track.getLength()

__Garmin.Track.getNumSegments

Number __Garmin.Track.getNumSegments()

__Garmin.Track.getSegment

Garmin.TrackSegment __Garmin.Track.getSegment(index)

__Garmin.Track.getStart

Garmin.TrackPoint __Garmin.Track.getStart()

__Garmin.Track.getStartDate

Garmin.DateTimeFormat __Garmin.Track.getStartDate()

__Garmin.Track.getStartLat

Number __Garmin.Track.getStartLat()

__Garmin.Track.getStartLng

Number __Garmin.Track.getStartLng()

__Garmin.Track.isDrawable

Boolean __Garmin.Track.isDrawable()

addSegment

Garmin.TrackPoint addSegment(trackSegment)

getDuration

String getDuration()

getEnd

Garmin.TrackPoint getEnd()

getEndDate

Garmin.DateTimeFormat getEndDate()

getFirstSegment

Garmin.TrackSegment getFirstSegment()

getLastSegment

Garmin.TrackSegment getLastSegment()

getLength

Number getLength()

getNumSegments

Number getNumSegments()

getSegment

Garmin.TrackSegment getSegment(index)

getStart

Garmin.TrackPoint getStart()

getStartDate

Garmin.DateTimeFormat getStartDate()

getStartLat

Number getStartLat()

getStartLng

Number getStartLng()

initialize

void initialize()

isDrawable

Boolean isDrawable()

toString

Object toString()


Documentation generated by JSDoc on Thu Apr 26 22:18:37 2007