Class Garmin.Series
Garmin.Series
Defined in: GarminSeries.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Garmin.Series((String))
Contains a series of samples.
|
| Method Attributes | Method Name and Description |
|---|---|
|
findNearestValidLocationSample(index, incDirection)
Find the nearest valid location point to the index given
|
Class Detail
Garmin.Series((String))
Contains a series of samples. Could represent tracks, routes, waypoints, and
many other types of data.
- Parameters:
- (String)
- type - the type of data this series contain. Should be determined by what information is recorded by the samples this series contain.
Method Detail
{Garmin.Sample}
findNearestValidLocationSample(index, incDirection)
Find the nearest valid location point to the index given
- Parameters:
- index
- is the index
- incDirection
- is an int in the direction we'd like to look positive nums are forward, negative nums are backwards
- Returns:
- The nearest point (possibly the index) that has a valid latitude and longitude