Home > @magiclane/maps-sdk > RectangleGeographicArea > containsCoordinates
RectangleGeographicArea.containsCoordinates() method
Checks if the specified point is contained within the geographic area.
Signature:
containsCoordinates(point: Coordinates): boolean;Parameters
Parameter | Type | Description |
|---|---|---|
point | A Coordinates object representing the point to check. |
Returns:
boolean
True if the point is within the geographic area, false otherwise.