|
- Managing multiple addresses
- Required application feature
geoGetAddress (Function) In french: géoRécupèreAdresse
// Retrieves the address of a monument MyAddress is Address MyAddress = geoGetAddress("Eiffel Tower") IF ErrorOccurred = False THEN Info(MyAddress..Country) END
Versions 25 and later
Retrieving a list of addresses (asynchronous mode) Hide the details
geoGetAddress(<Description> , <WLanguage procedure> [, <Number of addresses>])
<Description>: Character string (with quotes) Location whose address must be retrieved. This character string can correspond to: - the location expressed by the city and the country. Example: "Paris, France".
- the location expressed by the position ("<latitude>, <longitude>"). Example: "43.639942,3.837672".
<WLanguage procedure>: Procedure name Name of WLanguage procedure ("callback") that will be 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. New in version 25
Retrieving a list of addresses (asynchronous mode) Hide the details
geoGetAddress(<Description> , <WLanguage procedure> [, <Number of addresses>])
<Description>: Character string (with quotes) Location whose address must be retrieved. This character string can correspond to: - the location expressed by the city and the country. Example: "Paris, France".
- the location expressed by the position ("<latitude>, <longitude>"). Example: "43.639942,3.837672".
<WLanguage procedure>: Procedure name Name of WLanguage procedure ("callback") that will be 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.
Retrieving a list of addresses (asynchronous mode) Hide the details
geoGetAddress(<Description> , <WLanguage procedure> [, <Number of addresses>])
<Description>: Character string (with quotes) Location whose address must be retrieved. This character string can correspond to: - the location expressed by the city and the country. Example: "Paris, France".
- the location expressed by the position ("<latitude>, <longitude>"). Example: "43.639942,3.837672".
<WLanguage procedure>: Procedure name Name of WLanguage procedure ("callback") that will be 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. Remarks Managing multiple addresses If several addresses correspond to the same description, a dialog box is automatically displayed to allow the user to select one of these addresses. To retrieve the list of addresses corresponding to the description, use the second syntax. Versions 22 and later New in version 22
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Geolocation
[ + ] This example explains how to perform proximity searches with geolocation : - search around me - search in a city, at a given address, or close to a specific address. The results are displayed in a looper and in a map with markers.
|
Business / UI classification : Business Logic Component : wd260android.aar
This page is also available for…
|
|
|
| |
| | https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/519-busca-endereco-rota-endereco-das-coordendas-523/read.awp?hl=enderecodascoordenadas
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/2875-informatica-exemplo-google-maps-com-json-retornando-distancia/read.awp?lastview |
|
|
|
| |
| |
| |
|
| |
https://youtu.be/bSk0ysOlacE
|
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |