Skip to content

Function: pointInRing() ​

pointInRing(pt, ring): boolean

Defined in: selection.ts:361

Whether a point is inside a closed ring (even-odd rule). Points on the ring count as inside, matching OGC ST_Covers boundary semantics.

Parameters ​

pt ​

LonLat

ring ​

number[][]

Returns ​

boolean

Released under the MIT License.