From f48570bdaf1496537ada86a5374ef11756b6137f Mon Sep 17 00:00:00 2001 From: Robin Champenois Date: Sat, 6 Feb 2021 18:58:56 +0100 Subject: [PATCH] =?UTF-8?q?Carte=20=C3=A9dition=20lieu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- avisstage/static/js/select_lieu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avisstage/static/js/select_lieu.js b/avisstage/static/js/select_lieu.js index ef7d8ce..6e0c097 100644 --- a/avisstage/static/js/select_lieu.js +++ b/avisstage/static/js/select_lieu.js @@ -63,7 +63,7 @@ function SelectLieuWidget(STATIC_ROOT, API_LIEU, MAPBOX_API_KEY, target, callbac // Affiche la carte map = L.map(map_el[0]).setView([48.8422411,2.3430553], 15); - var layer = L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { + var layer = L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', { attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', maxZoom: 18, id: 'mapbox/streets-v11',