|
GPS ToolKit.NET
NavigationData Property
Returns the current GPS navigational data including the active route.
Syntax
[Visual Basic]
object.NavigationData
[C#]
object.NavigationData
[C++]
object->NavigationData
Parameters
object
An object expression that evaluates to a GPSToolKit instance.
Return Value
A NavData object containing current GPS navigational information.
Remarks
- This property returns current navigation information from the GPS. This includes information about the active route and/or the waypoint the GPS is currently navigating to. It does not contain any information about other waypoints, routes, or tracks.
- This property is only valid when using the NMEA 0183 protocol.
Errors
None
Example
[Visual Basic]
Dim nav As NavData
'Get navigation data
nav = myGPSToolKit.NavigationData
[C#]
// Get navigation data
NavData nav = myGPSToolKit.NavigationData;
[C++]
// Get navigation data
NavData *nav = myGPSToolKit->NavigationData;
See Also
NavData class
|