Project-GC Lua Sandbox API
Loading...
Searching...
No Matches
GetCountryPolygonInfo

Member Function Documentation

◆ GetCountryPolygonInfo()

GetCountryPolygonInfo ( $country)
Parameters
string$country(required)
Returns
array Returns a list of country polygons (only one item). Fields per polygon:
  • id: country-id
  • name: country name
  • area: area in square meters
  • minLat: minimum latitude of the polygon
  • maxLat: maximum latitude of the polygon
  • minLon: minimum longitude of the polygon
  • maxLon: maximum longitude of the polygon