ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Geolocation functions
  • Google license
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
geoGetArea (Function)
In french: géoRécupèreZone
Retrieves the coordinates of the geographic area that corresponds to a given description.
Example
// Show France in a Map control
let (p1,p2) = geoGetArea("France")
IF NOT ErrorOccurred() THEN
MapDisplayArea(MAP_Map1, 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: 05/26/2022

Send a report | Local help