UkraineNow-Intel / autoSA-backend

Django backend for autoSA
0 stars 1 forks source link

Get sources by location #43

Open D0nPiano opened 2 years ago

D0nPiano commented 2 years ago

With pagination, the map in the fronend can only show the items on the map that are on the current page of the source list. It would be great to be able to zoom to a location on the map and find out if any sources are there. We therefore need a location based endpoint, e.g. through filtering (/sources/?lat=40.0&lng=50.0&distance=5, distance in km)