[Overview][Types][Classes][Variables][Index] Reference for unit 'LazDeviceApis' (#lcl)

TLazPositionInfo

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Represents the hardware GPS device.

Declaration

Source position: lazdeviceapis.pas line 109

type TLazPositionInfo = class

public

  IsPositionDataAvailable: Boolean;

  

Indicates if position info was read in the life of this program.

  accuracy: Double;

  

The horizontal accuracy of the position in meters.

  altitude: Double;

  

Altitude in meters in relation to the sea level using the World Geodetic System 1984 (WGS84) datum.

  altitudeAccuracy: Double;

  

The vertical accuracy of the position in meters, or zero if not available.

  latitude: Double;

  

Latitude in degrees using the World Geodetic System 1984 (WGS84) datum.

  longitude: Double;

  

Longitude in degrees using the World Geodetic System 1984 (WGS84) datum In meters / second.

  speed: Double;

  timeStamp: TDateTime;

  

The time when the latest location was established.

  procedure RequestPositionInfo();

  

Requests the latest position using the given method.

  property OnPositionRetrieved: TNotifyEvent; [rw]

  

Called asynchronously when the position is read.

end;

Inheritance

TLazPositionInfo

  

Represents the hardware GPS device.

|

TObject


Version 3.2 Generated 2024-02-25 Home