-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
throw error code here uses &&:
if (currentP[0] !== contour[contourLen][0] && currentP[1] !== contour[contourLen][1])
so the code throw error only if both lat not equal and lon not equal?
here is code reference:
https://github.com/rowanwins/point-in-polygon-hao/blob/9cee0e8736917d8a8206ece35267fcd4206b9a39/src/index.js#LL23C9-L26C10
Metadata
Metadata
Assignees
Labels
No labels