Commit graph

3 commits

Author SHA1 Message Date
Félix Baylac-Jacqué
925d93fc58 Frontend: fix minor bug on the fetchEligData button 2022-02-21 19:00:40 +01:00
Félix Baylac-Jacqué
6c8c3b138d webapp: fetch eligibility data on backend
We fetch the eligibility data from the backend for the area the user
is currently viewing.

We don't want to trigger the search when the user is zoomed out, it
could be heavy on the backend CPU. Hence, we trigger the fetch after
the user searched for his real address or reached a good-enough zoom level.

The backend is currently returning a dummy answer.
2022-02-21 17:21:21 +01:00
Félix Baylac-Jacqué
8fbad8b7b1 webapp: display interactive map + geocoding
Adding an interactive map with a geocoding search bar. We use leaflet
with the openstreetmap.fr tiles. As for the geocoding part, we use
komoot's photon API for the time being.
2022-02-21 15:28:19 +01:00