Class Garmin.Track

Object
   |
   +--Garmin.Track

class Garmin.Track


Garmin.Track
Deprecated use Garmin.Activity instead

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 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(<Number> 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()
           Checks to see if the startDate is defined.
 Object toString()
          

Constructor Detail

Garmin.Track

Garmin.Track()

Method Detail

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(<Number> 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 Wed Apr 9 16:12:40 2008