Unit 'location' Package
[Overview][Types][Classes][Procedures and functions][Index] [#pw_androidwizard]

jLocation

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

Declaration

Source position: location.pas line 41

type jLocation = class(jControl)

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  function jCreate();

  

  function StartTracker();

  

  function StartTrackerSingle;

  

  procedure ShowLocationSouceSettings;

  

  procedure RequestLocationUpdates();

  

  procedure StopTracker;

  

  function GPSCreate;

  

  procedure SetCriteriaAccuracy();

  

  function IsGPSProvider;

  

  function IsNetProvider;

  

  procedure SetTimeForUpdates();

  

  procedure SetDistanceForUpdates();

  

  function GetLatitude;

  

  function GetLongitude;

  

  function GetAltitude;

  

  function IsWifiEnabled;

  

  procedure SetWifiEnabled();

  

  function GetGoogleMapsUrl();

  

  function GetGoogleMapsWebUrl();

  

  procedure SetMapWidth();

  

  procedure SetMapHeight();

  

  procedure SetMapZoom();

  

  procedure SetMapType();

  

  function GetAddress();

  

  function GetLatitudeLongitude();

  

  function GetGeoPoint2D();

  

  function GetDistanceBetween();

  

  function GetDistanceTo();

  

  procedure SetMarkerHighlightColor();

  

  function GetSatelliteCount;

  

  function GetSatelliteInfo();

  

  function GetTimeToFirstFix;

  

  procedure SetGoogleMapsApiKey();

  

  function GetAccuracy;

  

  procedure GenEvent_OnLocationChanged();

  

  procedure GenEvent_OnLocationStatusChanged();

  

  procedure GenEvent_OnLocationProviderEnabled();

  

  procedure GenEvent_OnLocationProviderDisabled();

  

  procedure GenEvent_OnGpsStatusChanged();

  

  property MapZoom: Integer; [rw]

  

  property MapWidth: Integer; [rw]

  

  property MapHeight: Integer; [rw]

  

published

  property MapType: TMapType; [rw]

  

  property CriteriaAccuracy: TCriteriaAccuracy; [rw]

  

  property TimeForUpdates: Int64; [rw]

  

  property DistanceForUpdates: Int64; [rw]

  

  property GoogleMapsApiKey: string; [rw]

  

  property OnLocationChanged: TLocationChanged; [rw]

  

  property OnLocationStatusChanged: TLocationStatusChanged; [rw]

  

  property OnLocationProviderEnabled: TLocationProviderEnabled; [rw]

  

  property OnLocationProviderDisabled: TLocationProviderDisabled; [rw]

  

  property OnGpsStatusChanged: TOnGpsStatusChanged; [rw]

  

end;

Inheritance

jLocation

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio