Home > @magiclane/maps-sdk > MapDetails > getCountryBoundingRectangle
MapDetails.getCountryBoundingRectangle() method
Returns the geographic bounding rectangle for a country code.
Signature:
static getCountryBoundingRectangle(code: string): RectangleGeographicArea;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
string |
ISO 3166-1 alpha-3 country code |
Returns:
The country's bounding rectangle in WGS84 coordinates