diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-02-14 23:46:59 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-02-14 23:46:59 +0100 |
commit | 604a37524552eadcaba6a1eda393a24558ad5472 (patch) | |
tree | ded108727409466de59d8840c3488d79e68d13ee | |
parent | 2712dfd79473745641c9b42410f5cf9d68e1df41 (diff) | |
download | fietsboek-604a37524552eadcaba6a1eda393a24558ad5472.tar.gz fietsboek-604a37524552eadcaba6a1eda393a24558ad5472.tar.bz2 fietsboek-604a37524552eadcaba6a1eda393a24558ad5472.zip |
remove {abc} tile server prefix
Those prefixes mainly exist to help browsers with their per-domain
connection limit [1]:
> Subdomains are used to help with browser parallel requests per domain
limitation
For us, we don't care about that limit, because we do not implement it
(server side at least). It's even better to not have those domains, as
otherwise our new connection limitation will get confused.
We might think about adding them back if the tile proxy is disabled,
but for now they seem to serve no purpose for us.
[1]: https://wiki.openstreetmap.org/wiki/Raster_tile_providers
-rw-r--r-- | fietsboek/views/tileproxy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fietsboek/views/tileproxy.py b/fietsboek/views/tileproxy.py index 55d52cf..5ed79a5 100644 --- a/fietsboek/views/tileproxy.py +++ b/fietsboek/views/tileproxy.py @@ -39,7 +39,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="osm", name="OSM", - url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", + url="https://tile.openstreetmap.org/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=19, access=LayerAccess.PUBLIC, @@ -74,7 +74,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="osmde", name="OSMDE", - url="https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", + url="https://tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=19, access=LayerAccess.PUBLIC, @@ -91,7 +91,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="opentopo", name="Open Topo", - url="https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", + url="https://tile.opentopomap.org/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=17, access=LayerAccess.PUBLIC, |