|
|
|
|
Geolocation functions/GPS
The following functions are used to handle geolocation data and to control GPS devices:
| | geoAzimuth | Returns the direction represented by a location in relation to another one. | geoDistance | Returns the distance between the two locations. This distance is expressed in meters by default. | geoGetAddress | Retrieves an address or a list of addresses corresponding to the description of a geographic location. | geoGetArea | Retrieves the coordinates of the geographic area that corresponds to a given description. | geoRunApp | Starts the device's native maps application to display: - a specific geographical location,
- a route between two locations.
| geoTrackingDisable | Disables the tracking of user positions for a WINDEV Mobile application. | geoTrackingEnable | Enables the management of location tracking in a WINDEV Mobile application. | geoTrackingProcedure | Defines the WLanguage procedure that will be called when the location of the user changes. | geoTrackingStatus | Retrieves the status of the system for position tracking. | GPSDetectPosition | Asks to be notified when the device gets close to a given location. | GPSEnd | Indicates the end of the use of geolocation functions. | GPSFollowMovement | Requests to be notified periodically of the device's current location. | GPSGetPosition | Retrieves information about the current device position. | GPSInfo | Returns the information about the location provider used by the application for geolocation functions. | GPSInitParameter | Initializes the parameters of geolocation WLanguage functions and finds a location provider. | GPSLastPosition | Retrieves the information about the last known device position. | GPSStatus | Retrieves the activation status of the geolocation provider or asks to be notified when the status changes. | GPSStopDetection | Stops the location detection triggered by GPSDetectPosition. |
The following advanced types are used to handle geolocation data:
| | Address | The Address type is used to manipulate the address of a place or person. | geoPosition | The geoPosition type is used to handle geographic positions via WLanguage geolocation functions. |
Related Examples:
|
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
|
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|