isPointNearBoundary
@totemsdk/spatial-proof / isPointNearBoundary
Function: isPointNearBoundary()
isPointNearBoundary(
point,polygon,thresholdM):boolean
True when a point is within thresholdM meters of any boundary ring of a
Polygon (outer ring and holes). Uses the equirectangular approximation.
Parameters
point
polygon
thresholdM
number
Returns
boolean