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