ZennoLab Assemblies Documentation
SetGeoposition 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.

Sets the geoposition coordinates and enables it for websites.
Syntax
public void SetGeoposition( 
   double latitude,
   double longitude,
   double accuracy,
   double altitude,
   double altitudeAccuracy,
   double heading,
   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

Send Feedback