This is a fork of the world wide map veggiekarte from piratenpanda. This map is for local use. Improvements will be added to the upstream project.
A map to find vegetarian/vegan POIs in your area.
This project will hopefully evolve into a nice OpenStreetMap based map where you can find vegetarian and vegan restaurants and cafes easily.
This is an overview of the third-party software we use. Many thanks to the open source community, especially to the authors of the following software! ❤️ 🍻
software | license | version | purpose |
---|---|---|---|
fontawesome | CC-BY-4.0, OFL-1.1, MIT * | 5.14.0 | Webfont. We use it for the symbols for the control buttons. |
leaflet | BSD-2-Clause * | 1.6.0 | JavaScript library to create interactive maps. |
leaflet.control.geocoder | BSD-2-Clause * | 1.13.0 | A control to locate places. The button with the 🔍 on the top right. |
leaflet.easybutton | MIT * | 2.4.0 | Adding buttons. We are using it for the info button. |
leaflet.featuregroup.subgroup | BSD-2-Clause * | 1.0.2 | dynamically add/remove groups of markers |
leaflet.hash | MIT * | 1.0.1 | Add coordinate hashes to the URL in the browser adress field. |
leaflet.locatecontrol | MIT * | 0.72 | A control to geolocate the user. The button with the marker on the top left. |
leaflet.markercluster | MIT * | 1.4.1 | Marker Clustering plugin. |
icons from OpenStreetMap Carto | CC0 | default icons | |
icons from Maki | CC0 | fallback icons | |
veggiepenguin | CC0 | favicon |
- Clone this Github folder
- Open using VSCode Insiders
- Install Live Server extension
- Right click on index.html and run in live server.
- The browser runs on localhost and shows an OSM map with the data from the "data folder" for places.json.
- The python scripts *.py are to retrieve the data from OSM via overpass and keep it locally in the places.json file.
- Python script needs urllib3 which can be acquired via virtual environment in python or dockerfile. Dockerfile not provided here, work it out!!