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)
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.
Business / UI classification: Business Logic