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
The constants used by the geolocation functions are:
ConstantDescriptionUsed by the functions
geoKilometerReturns the distance in kilometers.geoDistance
geoMap2DThe location is displayed on a two-dimensional map in the device's native maps applicationgeoRunApp
geoMeterReturns the distance in meters.geoDistance
geoMileReturns the distance in miles.geoDistance
geoTrackingDisabledTracking system status: The location tracking system is deactivated.geoTrackingStatus
geoTrackingEnabledTracking system status: The location tracking system is activated.geoTrackingStatus
geoTrackingErrorTracking system status: Error during recovery of system activation status. To get more details on the error, use ErrorInfo.geoTrackingStatus
geoView360The location is displayed as an image with a 360° view in the device's native maps application.geoRunApp
gpsAltitudeThe localization provider gives information about the altitude.GPSInitParameter, GPSInfo
gpsAutoAutomatically defines the localization provider.GPSInitParameter
gpsAvailableThe localization provider has become available.GPSStatus
gpsDirectionThe localization provider gives information about the direction.GPSInitParameter, GPSInfo
gpsDisabledThe localization provider is disabled.GPSStatus
gpsEnabledThe localization provider is enabled.GPSStatus
gpsEnergyAsks for information about the energy consumption of the localization provider.GPSInfo
gpsEnergyHighThe location provider may require a large amount of energy from the device.GPSInitParameter, GPSInfo
gpsEnergyLowThe localization provider must require a low quantity of energy from the device.GPSInitParameter, GPSInfo
gpsEnergyMediumThe location provider may require an average amount of energy from the device.GPSInitParameter, GPSInfo
gpsErrorAn error occurred while retrieving the status of the localization provider.GPSStatus
gpsErrorOKNo error was detected.GPSGetPosition, GPSFollowMovement
gpsErrorPositionUnable to determine the location (e.g., access provider internal error).GPSGetPosition, GPSFollowMovement
gpsErrorRightsThe browser has no sufficient rights to use geolocation.GPSGetPosition, GPSFollowMovement
gpsErrorTimeoutThe location could not be retrieved within the timeout.GPSGetPosition, GPSFollowMovement
gpsNetworkCalculates the position by using the network of mobile or Wi-Fi antenna.GPSInitParameter, GPSInfo
gpsOffServiceThe localization provider is off service.GPSStatus
gpsPrecisionAsks for information about the precision of the measurements of the localization provider.GPSInfo
gpsPrecisionHighCalculates the position with a high precision.GPSInitParameter, GPSInfo
gpsPrecisionLowCalculates the position with a low precision.GPSInitParameter, GPSInfo
gpsSatelliteCalculates the position by using the GPS.GPSInitParameter, GPSInfo
gpsSpeedThe localization provider gives information about the speed.GPSInitParameter, GPSInfo
gpsTypeAsks for information about the type of localization provider.GPSInfo
gpsUnavailableThe localization provider has become temporarily unavailable.GPSStatus
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help