public class WorldPolygons extends Object
| Constructor and Description |
|---|
WorldPolygons()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
WorldPlace |
byCountry(String country)
Returns a
WorldPlace given a country name. |
WorldPlace |
byCountryCode(String countryCode)
Returns a
WorldPlace given a country code. |
Rectangle |
getBounds()
Get the bounds of all the polygons
|
Collection<WorldPlace> |
getShapes()
Get all the
WorldPlaces. |
public WorldPolygons()
public Collection<WorldPlace> getShapes()
WorldPlaces.public WorldPlace byCountryCode(String countryCode)
WorldPlace given a country code.countryCode - the ISOA2 country code.WorldPlacepublic WorldPlace byCountry(String country)
WorldPlace given a country name.country - The countryWorldPlace