Open dhivehi opened 6 years ago
Hi @dhivehi
That's quite a different use case than what nearestPoint
currently supports.
If I understand correctly you want to pass in multiple points and multiple polygons, and somehow find out which polygon is closest to each point - is that correct?
Its about finding closest points between two polygons
ah I see, that's clearer thanks @dhivehi
It would be nice if turf.nearestPoint can also accept multiple points as 1st parameter. So that it can be used to find two closest points in two polygons.