From: Radek Czajka Date: Mon, 9 Nov 2020 00:17:55 +0000 (+0100) Subject: Use OSM tiles for now. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/b94c6ee5854472d0054f42ac5757b84819adcd6c?ds=inline;hp=19eb8110dcf8df62147ca2d0a5c8769a7fb11f71 Use OSM tiles for now. --- diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 45a585240..7e21b21d4 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -18,7 +18,7 @@ if (map_enabled) return; map = L.map('reference-map').setView([0, 0], 11); - L.tileLayer('https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png?lang=pl', { + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors' }).addTo(map);