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.
// Retrieves the address of a monument
geoGetAddress("Eiffel Tower", geoGetAddress_Callback)
INTERNAL PROCEDURE geoGetAddress_Callback(MyArray)
FOR I = 1 TO 10
ToastDisplay(MyArray[I]..Street + CR + MyArray[I]..City +
CR + MyArray[I]..Country)
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.