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
  • Google license
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
geoGetArea (Function)
In french: géoRécupèreZone
Retrieves the coordinates of the geographic area that corresponds to a given description.
Example
// Affiche la France dans un champ Carte 
let (p1,p2) = geoGetArea("France")
IF NOT ErrorOccurred() THEN
	MapDisplayArea(CARTE_Carte1, p1, p2)
END
Syntax
(<NW position>, <SE position>) = geoGetArea(<Description>)
<NW position>: geoPosition variable
geoPosition variable that corresponds to the North West geographic area.
<SE position>: geoPosition variable
geoPosition variable that corresponds to the South East geographic area.
<Description>: Character string
Geographic area whose coordinates are to be retrieved. For example: "Paris, France".
Remarks

Google license

To use Google's geocoding services, the application must provide a valid Google license key. This key can be provided using MapLicenseGgl. It must have been called before geoGetArea.
Android In Android, if the application has a Map control and the license key has been specified in the generation wizard, it is not necessary to call MapLicenseGgl.
For more information on the license key, see https://developers.google.com/maps/gmp-get-started.
Business / UI classification: Business Logic
Component: wd300java.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help