https://github.com/moosetraveller/webmap-example
Simple Leaflet Web Map
https://github.com/moosetraveller/webmap-example
example leaflet-map leafletjs webmap
Last synced: 12 months ago
JSON representation
Simple Leaflet Web Map
- Host: GitHub
- URL: https://github.com/moosetraveller/webmap-example
- Owner: moosetraveller
- Created: 2024-04-18T21:43:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T18:35:20.000Z (almost 2 years ago)
- Last Synced: 2025-01-08T01:39:11.867Z (about 1 year ago)
- Topics: example, leaflet-map, leafletjs, webmap
- Language: JavaScript
- Homepage: https://moosetraveller.github.io/webmap-example/
- Size: 357 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restaurants in Zurich
A simple webmap with Leaflet showing restaurants and other food establishments in Zurich City.
- [Demo](https://moosetraveller.github.io/webmap-example)
## Categories
The webmap shows restaurants and other food establishments. Each category (`betriebsart`) has its own color which is determined by `getCategoryColor(category)`.
The restaurants and other food establishments can be filtered using the provided dropdown on the top right of the map.
## Popup
The popup contains the name (`betriebsname`) and the address.
## Dependencies
The webmap is using [Leaflet](https://leafletjs.com), [Leaflet.DonutCluster](https://github.com/kalisio/Leaflet.DonutCluster) and [Leaflet.markercluster](https://github.com/Leaflet/Leaflet.markercluster).
## Data
| | |
|----|---|
| Source | [Stadt Zürich](https://data.stadt-zuerich.ch) |
| License | [Creative Commons CCZero](http://opendefinition.org/licenses/cc-zero/) |
A copy of the data can be found here [`data/stp.gastwirtschaftsbetriebe.json`](/data/stp.gastwirtschaftsbetriebe.json) (as of April 18, 2024) and [`data/stzh.adm_stadtkreise_a.json`](/data/stzh.adm_stadtkreise_a.json) (as of April 20, 2024).