Retrieves an address or a list of addresses corresponding to the description of a geographic location.
// Récupère l'adresse d'un monument historique
MonAdresse is Address
MonAdresse = geoGetAddress("Tour Eiffel")
IF ErrorOccurred = False THEN
Retrieving a list of addresses (asynchronous mode) Hide the details
geoGetAddress(<Description> , <WLanguage procedure> [, <Number of addresses>])
<Description>: Character string
Location whose address must be retrieved. This character string can correspond to:
- the location specified as city and country. Example: "Paris, France".
Remark: The location must be specified in the language of the telephone.
- the location expressed by the position ("<latitude>, <longitude>"). Example: "43.639942,3.837672".
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure ("callback") called for the place with the address that must be retrieved. For more details on this procedure, see Parameters of the procedure used by geoGetAddress.
<Number of addresses>: Optional integer
Maximum number of addresses returned in the list. If this parameter is not specified, the maximum number of addresses will be set to 10.
Multiple address management (syntax 1)
If several addresses correspond to the same description:
To retrieve the list of addresses corresponding to description, use the second or third syntax. It is possible, for example, to display a selection window via the OpenMobileWindow
Cross-platform examples (WINDEV Mobile): WM Geolocation
Business / UI classification: Business Logic