In my solid js project, I am unable to use turf intersect to find the overlap between two shapes on a map.
I get the error message “Error: Must specify at least 2 geometries”
I’m pretty sure it should work based on the polygons I input.
I made an example in Stackblitz
New contributor
A97543 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.