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
The following constants are used by the geo-localization functions:
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 disabled.geoTrackingStatus
geoTrackingEnabledTracking system status: The location tracking system is enabled.geoTrackingStatus
geoTrackingErrorTracking system status: Error while retrieving the 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 localization provider may require a high quantity of energy from the device.GPSInitParameter, GPSInfo
gpsEnergyLowThe localization provider must require a low quantity of energy from the device.GPSInitParameter, GPSInfo
gpsEnergyMediumThe localization provider may require a medium quantity 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: 05/26/2022

Send a report | Local help