Home > @magiclane/maps-sdk > RectangleGeographicArea > contains
RectangleGeographicArea.contains() method
Checks if this rectangle completely contains another rectangle.
Signature:
contains(area: RectangleGeographicArea): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
area |
The RectangleGeographicArea to check containment of. |
Returns:
boolean
True if this rectangle contains the other, false otherwise.