Home > @magiclane/maps-sdk > Landmark > getContourGeographicArea
Landmark.getContourGeographicArea() method
Retrieves the contour geographic bounding rectangle for this landmark.
Landmarks can have complex contours; this method returns a rectangle that bounds the contour. Use relevantOnly to request a reduced bounding box when available.
Signature:
getContourGeographicArea(relevantOnly?: boolean): RectangleGeographicArea;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
relevantOnly |
boolean |
(Optional) If true, returns the relevant (smaller) contour bounding box when available; otherwise returns the full contour bounding box. |
Returns:
A rectangle representing the contour's bounding box.