Home > @magiclane/maps-sdk > TilesCollectionGeographicArea > containsCoordinates

TilesCollectionGeographicArea.containsCoordinates() method

Checks if the specified point is contained within the geographic area.

Signature:

containsCoordinates(coords: Coordinates): boolean;

Parameters

Parameter

Type

Description

coords

Coordinates

A Coordinates object representing the point to check.

Returns:

boolean

True if the point is within the geographic area, false otherwise.