ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Geolocation functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
// Retrieves the address of a monument
geoGetAddress("Eiffel Tower", geoGetAddress_Callback)

INTERNAL PROCÉDURE geoGetAddress_Callback(MyArray)
FOR I = 1 TO 10
ToastDisplay(MyArray[I]..Street + CR + MyArray[I]..City + 
CR + MyArray[I]..Country)
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: 10/02/2023

Send a report | Local help