System.Sensors.TGeocoder

Delphi
TGeocoder = class abstract(TObject)
C++
class PASCALIMPLEMENTATION TGeocoder : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Sensors.pas System.Sensors.hpp |
System.Sensors | System.Sensors |
Description
Used for handling geocoding and reverse geocoding.
Geocoding is the process of transforming geographic data like address, zip codes into geographic coordinates. Reverse geocoding is the process for transforming geographical coordinates into other geographical data, such as address. The Initialize procedure must be used before using TGeocoder for the first time through the Current property. The Supported function determines whether the geocoding can be realized. Authorized determines whether the application is authorized to use the service.
Geocode executes forward geocoding and triggers OnGeocode when done. GeocodeReverse executes reverse geocoding and triggers OnGeocodeReverse when done.
Platform Support
This class is only supported on Android and iOS.
- Note: On Android you cannot cancel data requests.
See Also
- Mobile Tutorial: Using Location Sensors (iOS and Android)
- System.Sensors.TGeocoder.Initialize
- System.Sensors.TGeocoder.Current
- System.Sensors.TGeocoder.Supported
- System.Sensors.TGeocoder.Authorized
- System.Sensors.TGeocoder.Geocode
- System.Sensors.TGeocoder.GeocodeReverse
- System.Sensors.TGeocoder.OnGeocode
- System.Sensors.TGeocoder.OnGeocodeReverse