This commit is contained in:
parent
59e68ae771
commit
4c28ed5e3b
@ -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: © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
||||
}),
|
||||
('English', 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
|
||||
'attribution': '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> © <a href="https://carto.com/attributions">CARTO</a>',
|
||||
'subdomains': 'abcd',
|
||||
'maxZoom': 19
|
||||
}),
|
||||
('Français', 'http://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', {}),
|
||||
],
|
||||
'PLUGINS': {
|
||||
'forms': {
|
||||
'auto-include': True
|
||||
|
Loading…
Reference in New Issue
Block a user