PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Managing multiple addresses
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Retrieves an address (or a list of addresses) corresponding to the description of a geographical location.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 20 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 20
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Retrieves the address of a monument
MyAddress is Address
MyAddress = geoGetAddress("Eiffel Tower")
IF ErrorOccurred = False THEN
Info(MyAddress..Country)
END
Syntax

Retrieving an address Hide the details

<Result> = geoGetAddress(<Description>)
<Result>: Address variable
Address variable corresponding to the description of the location.
To find out whether the position failed to be retrieved, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.
<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".

Retrieving a list of addresses Hide the details

<Result> = geoGetAddress(<Description> , <Array of Addresses> [, <Number of Addresses>])
<Result>: Boolean
  • True if at least one address was retrieved,
  • False otherwise.
To find out whether the position failed to be retrieved, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.
<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".
<Array of Addresses>: Array
Name of the array of Address variables that will be filled with the list of addresses corresponding to the position. The different properties of the Address variables (street, city, etc.) will be filled according to the precision of the information returned by the geo-localization service.
<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
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Internet and public networks (incoming and outgoing)
New in version 22
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Internet and public networks (incoming and outgoing)
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Internet and public networks (incoming and outgoing)
Related Examples:
WM Geo-localization Cross-platform examples (WINDEV Mobile): WM Geo-localization
[ + ] This example explains how to perform proximity searches with geolocalization:
- 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.
Components
Android wd230android.jar
Minimum required version
  • Version 17
This page is also available for…
Comments
GPS Functions
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
BOLLER
Nov. 10 2018
Video Trajeto Mapa


https://youtu.be/bSk0ysOlacE
amarildo
Nov. 03 2018