contains method

bool contains(
  1. LngLat lnglat
)

Check if the point is within the bounding box.

@param {LngLatLike} lnglat geographic point to check against. @returns {boolean} True if the point is within the bounding box.

Implementation

bool contains(LngLat lnglat) => jsObject.contains(lnglat.jsObject);