PVince81/unwaste

Display list of nearby points

Opened this issue · 2 comments

Get the nearby points and show them in a list.
Use the endpoint: /api/nearbywastepoint?latitude=123.4567&longitude=456.12345 with the GET method to retrieve them.

You can also add "distance" in meters. I think we need to do some tests to tweak the default value for that. It currently defaults to 100m and doesn't allow values bigger then 400m. We can discuss this.

It used to work but for some reason it broke recently. Need to have a look.