| int | $level | (required) Must be one of (has no default):
- (string) 'country'
- (string) 'region'
- (string) 'county'
|
| string | $country | (required) A string representing the country. |
| array | $regionNames | (optional) A list of region names to filter on. Can be left empty/unset. Ignored if the level is set to 'country'. |
| array | $countyNames | (optional) A list of county names to filter on. Can be left empty/unset. Ignored if the level is set to 'country' or 'region'. |
| bool | $landonly | (default false) Returns polygons clipped to coastline if true. These generally are more expensive to use, but look better/more correct. |