MensaToday / mensa-today

Daily mensa recommendations for students and lecturers in Münster/Germany.
GNU General Public License v3.0
4 stars 0 forks source link

Create Open Street Map to display location of canteens and bistros #250

Closed martenjostmann closed 1 year ago

martenjostmann commented 1 year ago

A new feature could be a open street map with markers indicating the location of specific canteens. When the canteen is currently open the marker should be green, when it is closes red and when is is closing soon orange. When clicking on a marker information about the canteen as well as available dishes should be displayed. The latter features should be tracked in different issues. When zooming out canteens should be displayed as a cluster and a number indicating how many canteens are in this area (pretty similar to what e scooter vendors are currently doing). A nice open source tool for this purpose is: https://leafletjs.com/examples.html. One example implementation how the clustering can be realized can be found here: http://jsfiddle.net/guihig/eabk5wvj/6/# and here: https://gis.stackexchange.com/questions/358085/leaflet-map-clustering-zoom-in-not-working-on-close-points.

This feature could enhance the usability and also adds the possibility to add new canteen location of other systems.

martenjostmann commented 1 year ago

251 will keep track of the necessary api endpoint to get all relevant information.