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

Member Function Documentation

◆ GetRegionPolygonInfoFromCountry()

Parameters
string$country(required)
Returns
array Returns a list of region polygons (only one item). Fields per polygon:
  • id: region-id - may not be persistent over time
  • name: region 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