From: Radek Czajka Date: Mon, 9 Nov 2020 08:22:26 +0000 (+0100) Subject: Use CycleMap for map. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/8925f2b32fe3bfd9f9325cb7486c3b2058d25d0a Use CycleMap for map. --- diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 7c98763bf..23f7b0302 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -18,8 +18,8 @@ if (map_enabled) return; map = L.map('reference-map').setView([0, 0], 11); - L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { - attribution: 'Map data © OpenStreetMap contributors' + L.tileLayer('https://tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=a8a97f0ae5134403ac38c1a075b03e15', { + attribution: 'Maps © Thunderforest, Data © OpenStreetMap contributors' }).addTo(map); map_enabled = true;