From 24019119d112e932cf8a21b07c0b3f618afa3cd7 Mon Sep 17 00:00:00 2001 From: Midgard Date: Mon, 22 Jun 2020 13:10:15 +0200 Subject: [PATCH] Change to OSMBE tiles --- src/js/map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/map.js b/src/js/map.js index b86802f..87ecfda 100644 --- a/src/js/map.js +++ b/src/js/map.js @@ -53,9 +53,9 @@ $(document).ready(function() { } var map = L.map("map").setView([50.702, 4.335], 9); - var osm = L.tileLayer("https://{s}.tiles.mapbox.com/v3/feliciaan.keoaj8d5/{z}/{x}/{y}{r}.png", { - attribution: 'Achtergrondkaart © OpenStreetMap-bijdragers (data) en © Mapbox (stijl) | Made with ❤ by Zeus WPI', - detectRetina: true + var osm = L.tileLayer("//tile.osm.be/osmbe-nl/{z}/{x}/{y}.png", { + attribution: 'Achtergrondkaart © OpenStreetMap-bijdragers, tiles courtesy of GEO-6. | Made with ❤ by Zeus WPI', + maxZoom: 18 }).addTo(map); $.getJSON("https://blokdata.zeus.gent/data.json")