|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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 |
|
| 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()
| Method Detail |
Garmin.TrackPoint addSegment(trackSegment)
String getDuration()
Garmin.TrackPoint getEnd()
Garmin.DateTimeFormat getEndDate()
Garmin.TrackSegment getFirstSegment()
Garmin.TrackSegment getLastSegment()
Number getLength()
Number getNumSegments()
Garmin.TrackSegment getSegment(<Number> index)
index - is the segment we want
Garmin.TrackPoint getStart()
Garmin.DateTimeFormat getStartDate()
Number getStartLat()
Number getStartLng()
void initialize()
Boolean isDrawable()
Object toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||