From 3d1717fb9dddfe3e0059e338365207f6429608be Mon Sep 17 00:00:00 2001 From: Chatewgne Date: Wed, 3 Jan 2024 14:12:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[BUG]=20Maintain=20same=20order?= =?UTF-8?q?=20for=20default=20map=20layers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- geotrek/settings/base.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/geotrek/settings/base.py b/geotrek/settings/base.py index 1dcf4ee42b..e3291ca1bc 100644 --- a/geotrek/settings/base.py +++ b/geotrek/settings/base.py @@ -448,20 +448,20 @@ def api_bbox(bbox, buffer): 'SRID': 3857, 'TILES': [ ( - 'OpenStreetMap', - '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + 'OpenTopoMap', + '//{s}.tile.opentopomap.org/{z}/{x}/{y}.png', { - 'attribution': '© Contributeurs d\'OpenStreetMap', - 'maxNativeZoom': 19, + 'attribution': 'map data: © OpenStreetMap contributors, SRTM | map style: © OpenTopoMap (CC-BY-SA)', + 'maxNativeZoom': 17, 'maxZoom': 22 } ), ( - 'OpenTopoMap', - '//{s}.tile.opentopomap.org/{z}/{x}/{y}.png', + 'OpenStreetMap', + '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { - 'attribution': 'map data: © OpenStreetMap contributors, SRTM | map style: © OpenTopoMap (CC-BY-SA)', - 'maxNativeZoom': 17, + 'attribution': '© Contributeurs d\'OpenStreetMap', + 'maxNativeZoom': 19, 'maxZoom': 22 } )