I have a geojson with a couple of features, eg. a grid of streets, and would like to get all streets and other features that are in a certain radius around a certain point.
How could I do that with turf? I was thinking of looping through all the points and comparing the distance with
turf.distance(from, to, options);.
But maybe there is a better way of doing it.
This is the base with a map in the background, but I'd like to calculate it without using any map framework.
In this exmaple here, it should return the feature of the street + the closest distance.