Skip to content

osmontrouge/osmontrouge

Repository files navigation

OSMontrouge

OSMontrouge is a special map of Montrouge (France) that display specific features.

This is the front-end part of OSMontrouge. It display the map using mapbox-gl-js.

The vector tiles are generated by OpenMapTiles (see our fork), served by tileserver-gl and the style used is a custom version of osm-bright-gl-style.

The geocoding is done via Addok.

The features are pre-generated at build time with overpass.

Add features

Edit data.yml, and add a name, an (optional icon) and the overpass query.

Development

Using docker:

./script/server

And visit http://localhost:1234

Running tests, using jest:

./script/test

Deploy

Using docker:

docker build -t osmontrouge .
docker run -p 8080:80 osmontrouge

License

GNU AGPL v3