aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-11-17 22:46:42 +0100
committerDaniel Schadt <kingdread@gmx.de>2022-11-17 22:46:42 +0100
commit5607aa64cac1f67169e742d397c2ac8d9c9057a8 (patch)
tree72ab0eff61556d03cd26ffe6f543b429372804c6 /.gitattributes
parentc1f8b0e55db852e4cfffd75af34bd6f146b35b77 (diff)
downloadfietsboek-5607aa64cac1f67169e742d397c2ac8d9c9057a8.tar.gz
fietsboek-5607aa64cac1f67169e742d397c2ac8d9c9057a8.tar.bz2
fietsboek-5607aa64cac1f67169e742d397c2ac8d9c9057a8.zip
enable custom map layers
This change shuffles around quite a bit because we no longer hardcode our map layers in osm-monkeypatch.js, but instead can pass them through from the Python code. This allows us to dynamically define extra layers, for example to disable layers the admin doesn't want, or to add extra layers that are not yet available. This change for example allows to embed thunderforest maps by adding the following to the config: fietsboek.tile_layers.tf_cycling = TF Cycling fietsboek.tile_layers.tf_cycling.url = https://thunderforest.com/... fietsboek.tile_layers.tf_cycling.access = restricted The next step is to make the Thunderforest maps a bit easier to access (by providing special support for those), but for now, this seems like a good first step and the necessary groundwork.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions