diff --git a/ojusomap/settings.py b/ojusomap/settings.py index 1cce276..83df92c 100644 --- a/ojusomap/settings.py +++ b/ojusomap/settings.py @@ -263,6 +263,18 @@ CRISPY_TEMPLATE_PACK = 'bootstrap3' LEAFLET_CONFIG = { 'MIN_ZOOM': 2, 'MAX_ZOOM': 16, + 'TILES': [ + ('Default', 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', { + 'maxZoom': 17, + 'attribution': 'Map data: © OpenStreetMap, SRTM | Map style: © OpenTopoMap (CC-BY-SA)' + }), + ('English', 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', { + 'attribution': '© OpenStreetMap © CARTO', + 'subdomains': 'abcd', + 'maxZoom': 19 + }), + ('Français', 'http://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {}), + ], 'PLUGINS': { 'forms': { 'auto-include': True