Communicator Plugin API Version 1.9

Class Index | File Index

Classes


Class Garmin.Series

Garmin.Series
Defined in: GarminSeries.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Garmin.Series((String))
Contains a series of samples.
Method Summary
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

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Jul 25 2011 09:36:54 GMT-0700 (MST)