[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 end;

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;

  

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

Inheritance

TLazPositionInfo

  

Represents the hardware GPS device

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.