Home > @magiclane/maps-sdk > RectangleGeographicArea > makeIntersection
RectangleGeographicArea.makeIntersection() method
Creates a new RectangleGeographicArea as the intersection of this rectangle and another rectangle.
Signature:
makeIntersection(area: RectangleGeographicArea): RectangleGeographicArea;Parameters
Parameter | Type | Description |
|---|---|---|
area | The RectangleGeographicArea to intersect with. |
Returns:
A new RectangleGeographicArea object representing the intersection.