A small visualization of the weekly markets in different cities. Available at: http://wo-ist-markt.de
- The market data is stored in GeoJSON format.
- The opening hours use the OpenStreetMap opening hours format.
- Opening hours that cannot be expressed in that format can use the
opening_hours_unclassified
property (in that case, set theopening_hours
property tonull
).
- Besides the actual market information map coordinates and zoom level must be provided. These information are being used to set the initial position of the map. They must be part of the city-specific GeoJSON file. Please adapt the format as being used in cities/karlsruhe.json.
- Further, the data source must be specified so it can be shown in the legend overlay.
-
The individual market data for supported cities is displayed when the city name is given in the address bar of the browser.
Example: http://wo-ist-markt.de/#karlsruhe.
By default or on error Karlsruhe is rendered.
City name | Data source |
---|---|
Karlsruhe | City of Karlsruhe |
Berlin | City of Berlin |
Münster | City of Münster |
Tests can be run using npm:
$ npm install # Just once after you've cloned the repo
$ npm test # Whenever you want to run the tests