0

I've been looking for solutions regarding a specific point being inside a polygon, but the threads I've been reading have usually involved an API being called like GMaps. I wonder if this can be done with purely Javascript, through the use of an algorithm? (I did read through Dan Sunday's algorithm)

darkertime
  • 33
  • 1
  • 6

1 Answers1

-1

Yup, it sure can.

For instance, substack's point-in-polygon looks like a promising library to do just that.

AKX
  • 152,115
  • 15
  • 115
  • 172