|
|
|
|
|
- Specific features
- Low location accuracy
geoTrackingProcedure (Function) In french: géoSuiviProcédure Defines the WLanguage procedure that will be called when the location of the user changes. Caution: - Before using this function, geoTrackingEnable must be used to enable location tracking.
- To be run in the background, this function must be called in the "Initialization" event associated with the project. For more details, see Remarks.
geoTrackingProcedure(TrackingProcedure)
PROCEDURE TrackingProcedure(mLocation is geoPosition)
SendServer(mLocation)
Syntax
<Result> = geoTrackingProcedure(<WLanguage procedure>)
<Result>: Boolean - True if the location tracking system is available,
- False if the location tracking system is not available. To get more details on the error, use ErrorInfo.
<WLanguage procedure>: Procedure name Name of WLanguage procedure called when the location of the user changes. This procedure has the following format: PROCEDURE <Procedure name>(<Location> is geoPosition) In this code, <Location> is a geoPosition variable corresponding to the current location of the user. This procedure must be a global procedure of application.
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.
|
Component: wd300android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|