ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Geolocation functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WLanguage procedure called by geoGetAddress
WLanguage procedure ("callback") called by geoGetAddress. This procedure is used to get the list of addresses that correspond to the position specified in geoGetAddress.. This procedure can be a local, global or internal procedure.
Example
// Récupère l'adresse d'un monument historique
geoGetAddress("Tour Eiffel", géoRécupèreAdresse_Callback)

	INTERNAL PROCEDURE géoRécupèreAdresse_Callback(MonTableau)
		FOR I = 1 TO 10
			ToastDisplay(MonTableau[I].Rue + CR + MonTableau[I].Ville + 
			CR + MonTableau[I].Pays)
		END
	END
Syntax
geoGetAddress_Callback(<Array of addresses>)
<Array of addresses>: Array
Name of the array of Address variables which will be filled with the list of addresses that correspond to the position specified with geoGetAddress. The different properties of the Address variables (street, city, etc.) will be filled according to the precision of the information returned by the geolocation service.
Component: wd300android.aar
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/03/2025

Send a report | Local help