|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--TrackSegment
| Method Summary | |
TrackPoint
|
__Garmin.TrackSegment.findNearestValidLocationPoint(index, incDirection)
Find the nearest valid point to the index given |
{String} Duration (Garmin.TrackSegment.prototype.hh = mm;:ss)
|
__Garmin.TrackSegment.getDuration()
Get the total duration for this track segment |
TrackPoint
|
__Garmin.TrackSegment.getEnd()
Quick method to get the last point |
TrackPoint
|
__Garmin.TrackSegment.getEndDate()
Get the data/time for the end point of this segment |
{Number}
|
__Garmin.TrackSegment.getLength()
Get the total number of trackpoints in this segment |
TrackPoint
|
__Garmin.TrackSegment.getPoint(index)
Get the point 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 |
TrackPoint
|
__Garmin.TrackSegment.getStart()
Quick method to get the first point |
TrackPoint
|
__Garmin.TrackSegment.getStartDate()
Get the data/time for the start point of this segment |
TrackPoint
|
__Garmin.TrackSegment.getStartLat()
Get the latitude for the start point of this segment |
TrackPoint
|
__Garmin.TrackSegment.getStartLng()
Get the longitude for the start point of this segment |
| Method Detail |
TrackPoint __Garmin.TrackSegment.findNearestValidLocationPoint(index, incDirection)
index - is the index
incDirection - is an int in the direction we'd like to look positive nums are forward, negative nums are backwards
{String} Duration (Garmin.TrackSegment.prototype.hh = mm;:ss) __Garmin.TrackSegment.getDuration()
TrackPoint __Garmin.TrackSegment.getEnd()
TrackPoint __Garmin.TrackSegment.getEndDate()
{Number} __Garmin.TrackSegment.getLength()
TrackPoint __Garmin.TrackSegment.getPoint(index)
index - is the point we want
TrackPoint __Garmin.TrackSegment.getStart()
TrackPoint __Garmin.TrackSegment.getStartDate()
TrackPoint __Garmin.TrackSegment.getStartLat()
TrackPoint __Garmin.TrackSegment.getStartLng()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||