ZennoLab Assemblies Documentation
GetGeoposition Method (Instance)
ZennoLab.CommandCenter Namespace > Instance Class : GetGeoposition Method

Type: System.Double

The position's latitude in decimal degrees.

Type: System.Double

The position's longitude in decimal degrees.

Type: System.Double

The accuracy of the latitude and longitude, expressed in meters.

Type: System.Double

The position's altitude in metres, relative to sea level. The default value is 0.

Type: System.Double

The accuracy of the altitude expressed in meters. The default value is 0.

Type: System.Double

The direction in which the device is traveling. This value, specified in degrees, 0 degrees represents true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). The default value is 0.

Type: System.Double

The velocity of the device in meters per second. The default value is 0.

Gets the geoposition coordinates.
Syntax
public void GetGeoposition( 
   out double latitude,
   out double longitude,
   out double accuracy,
   out double altitude,
   out double altitudeAccuracy,
   out double heading,
   out double speed
)

Parameters

latitude

Type: System.Double

The position's latitude in decimal degrees.

longitude

Type: System.Double

The position's longitude in decimal degrees.

accuracy

Type: System.Double

The accuracy of the latitude and longitude, expressed in meters.

altitude

Type: System.Double

The position's altitude in metres, relative to sea level. The default value is 0.

altitudeAccuracy

Type: System.Double

The accuracy of the altitude expressed in meters. The default value is 0.

heading

Type: System.Double

The direction in which the device is traveling. This value, specified in degrees, 0 degrees represents true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). The default value is 0.

speed

Type: System.Double

The velocity of the device in meters per second. The default value is 0.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members