Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 3.3 KB

README.md

File metadata and controls

39 lines (30 loc) · 3.3 KB

veggiekarte local

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.

description

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.

website

third-party

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

Installation in local folder in your own laptop or desktop running Windows 10.

  1. Clone this Github folder
  2. Open using VSCode Insiders
  3. Install Live Server extension
  4. Right click on index.html and run in live server.
  5. The browser runs on localhost and shows an OSM map with the data from the "data folder" for places.json.
  6. The python scripts *.py are to retrieve the data from OSM via overpass and keep it locally in the places.json file.
  7. Python script needs urllib3 which can be acquired via virtual environment in python or dockerfile. Dockerfile not provided here, work it out!!