[GIS] How to create a radius search in Leaflet

leaflet

My objective is to create a radius search tool using the Leaflet API. It will behave like How many POIs within the radius from a given point?

Any tutorial or any blog forum link will be helpful to me.

Best Answer

Here is a bounding box example, it uses Rtrees which are pretty efficient so you may have better luck filtering out the corners of the Rtree bounding box then doing a straight up radius search.