Retrieves the coordinates of the geographic area that corresponds to a given description.
// Show France in a Map control
let (p1,p2) = geoGetArea("France")
IF NOT ErrorOccurred() THEN
MapDisplayArea(MAP_Map1, p1, p2)
(<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".
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
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
Business / UI classification: Business Logic