PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in iPhone/iPad
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Versions 16 and later
WEBDEV - Browser code Some geo-localization functions can now be used in browser code.
New in version 16
WEBDEV - Browser code Some geo-localization functions can now be used in browser code.
WEBDEV - Browser code Some geo-localization functions can now be used in browser code.
Versions 17 and later
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
New in version 17
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
Versions 20 and later
WINDEVWindows Some geo-localization functions are now available for the WINDEV applications for Windows.
WEBDEV - Server codeWindows Some geo-localization functions are now available for the WEBDEV sites for Windows.
New in version 20
WINDEVWindows Some geo-localization functions are now available for the WINDEV applications for Windows.
WEBDEV - Server codeWindows Some geo-localization functions are now available for the WEBDEV sites for Windows.
WINDEVWindows Some geo-localization functions are now available for the WINDEV applications for Windows.
WEBDEV - Server codeWindows Some geo-localization functions are now available for the WEBDEV sites for Windows.
Versions 21 and later
Universal Windows 10 App Some functions are now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App Some functions are now available in Universal Windows 10 App mode.
Universal Windows 10 App Some functions are now available in Universal Windows 10 App mode.
Versions 22 and later
WINDEVWindows Some functions are now available for the WINDEV applications.
New in version 22
WINDEVWindows Some functions are now available for the WINDEV applications.
WINDEVWindows Some functions are now available for the WINDEV applications.
The following functions are used to handle the geo-localization information and to control a GPS device:
geoDistanceReturns the distance between the two positions. This distance is expressed in meters by default.
geoGetAddressRetrieves an address (or a list of addresses) corresponding to the description of a geographical location.
geoRunAppStarts the native mapping application of the device to display:
  • a specific geographical position,
  • an itinerary between two positions.
geoTrackingDisableDisables the tracking of user positions for a WINDEV Mobile application.
geoTrackingEnableEnables the management of position tracking in a WINDEV Mobile application.
geoTrackingProcedureDefines the WLanguage procedure that will be called when the user position changes.
geoTrackingStatusRetrieves the status of the system for position tracking.
GPSDetectPositionAsks to be notified when the device gets close to a given position.
GPSEndIndicates the end of use of geo-localization functions.
GPSFollowMovementAsks to be regularly notified about the current device position.
GPSGetPositionRetrieves information about the current device position.
GPSInfoReturns the information about the localization provider used by the application for the geo-localization functions.
GPSInitParameterInitializes the parameters of WLanguage functions for geo-localization and finds a localization provider.
GPSLastPositionRetrieves the information about the last known device position.
GPSStatusRetrieves the activation status of the geo-localization provider or asks to be notified when the status changes.
GPSStopDetectionStops the detection of position that was started by GPSDetectPosition.
The following advanced types are used to handle the geo-localization information:
Versions 17 and later
Address
New in version 17
Address
Address
The Address type is used to handle the address of a location or the address of a person.
Versions 15 and later
geoPosition
New in version 15
geoPosition
geoPosition
The geoPosition type is used to handle the geographic positions via the geo-localization functions of WLanguage.
Versions 17 and later
iPhone/iPad

Operating mode in iPhone/iPad

During the first startup of a GPS function, the system asks the user for the authorization to perform a geo-localization. If the user refuses, all the GPS functions used in the rest of the application will fail (fatal error).
To re-allow the use of GPS for this application, the system configuration of the application must be modified.
New in version 17
iPhone/iPad

Operating mode in iPhone/iPad

During the first startup of a GPS function, the system asks the user for the authorization to perform a geo-localization. If the user refuses, all the GPS functions used in the rest of the application will fail (fatal error).
To re-allow the use of GPS for this application, the system configuration of the application must be modified.
iPhone/iPad

Operating mode in iPhone/iPad

During the first startup of a GPS function, the system asks the user for the authorization to perform a geo-localization. If the user refuses, all the GPS functions used in the rest of the application will fail (fatal error).
To re-allow the use of GPS for this application, the system configuration of the application must be modified.
Related Examples:
Android GPS Android (WINDEV Mobile): Android GPS
[ + ] This example presents the use of the GPS functions of WLanguage in an Android application.
It is used to retrieve at regular interval:
- The latitude
- The longitude
- The altitude
- The speed
- The direction
Pocket GPS Sample Mobile components (WINDEV Mobile): Pocket GPS
[ + ] This application is an example for using the Pocket GPS component.
The following data is returned by the component:
- the longitude: angle between a point found on the Greenwich meridian and a given position in relation to the center of the Earth
- the latitude: angle between a point found on the equator and a given position in relation to the center of the Earth
- the vitesse: movement speed in km/h
- the altitude: altitude in relation to the sea level
To operate, this example requires a GPS device that complies with the NMEA standard.
WM Geo-localization Cross-platform examples (WINDEV Mobile): WM Geo-localization
[ + ] This example explains how to perform proximity searches with geolocalization:
- 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.
Minimum required version
  • Version 15
This page is also available for…
Comments
GPS Functions
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/519-busca-endereco-rota-endereco-das-coordendas-523/read.awp?hl=enderecodascoordenadas

https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/2875-informatica-exemplo-google-maps-com-json-retornando-distancia/read.awp?lastview
BOLLER
Nov. 10 2018