Fix map & settings

This commit is contained in:
Robin Champenois 2021-01-31 23:48:46 +01:00
parent 04efa743f6
commit bc9fd155e6
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ function SelectLieuWidget(STATIC_ROOT, API_LIEU, MAPBOX_API_KEY, target, callbac
var layer = L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
maxZoom: 18,
id: 'mapbox.streets',
id: 'mapbox/streets-v11',
accessToken: MAPBOX_API_KEY
});
map.addLayer(layer);

View file

@ -16,9 +16,9 @@ if USE_DEBUG_TOOLBAR:
'debug_toolbar',
]
MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
) + MIDDLEWARE_CLASSES
) + MIDDLEWARE
INTERNAL_IPS = ['127.0.0.1']