Map pop-up
We'd like to get a popup with some info when clicking on a map point
In the current (live) version of the site this is what it looks like now:
Design is not important, just the basic functionality
The map code can be found here: https://gitlab.com/kollaborativ-ekonomi/smartakartan4/-/blob/main/react-frontend/public/map.js
Leaflet is used for the map code
The API for locations: http://127.0.0.1:8000/api/locations/
DoD:
- When the user clicks on a map point, a popup is shown
- The popup contains: Location title, Location (short) description, Location details link (to details page)
Edited by Daniel