PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Special cases
  • Browsers allowing the geo-localization
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
Retrieves the information about the last known device position.
Versions 16 and later
WEBDEV - Browser code This function is now available in Browser code.
New in version 16
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code This function is now available in Browser code.
Versions 22 and later
Windows This function is now available for the WINDEV applications.
New in version 22
Windows This function is now available for the WINDEV applications.
Windows This function is now available for the WINDEV applications.
Example
pos is geoPosition
pos = GPSLastPosition()
IF ErrorOccurred = False THEN
Info(" Latitude: " + pos..Latitude)  
Info(" Longitude: " + pos..Longitude)  
END
Syntax
<Result> = GPSLastPosition()
<Result>: geoPosition variable
Name of geoPosition variable. This variable contains the information about the last known device position. To find out whether the position failed to be retrieved, use the ErrorOccurred variable.
Remarks

Special cases

WEBDEV - Browser code

Browsers allowing the geo-localization

Caution: The geo-localization is available for the most recent browsers only:
  • FireFox from version 3.5,
  • Chrome from version 5.0.342.1,
  • Opera from version 10.6,
  • Safari from version 5.0.
During the call to a geo-localization function, the browser requests the authorization to localize.
Component : wd240java.dll
Minimum version required
  • 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
10 Nov. 2018