From 6701117f9feb99babf343afe501ca2cea3f5dd7e Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 5 Jun 2024 21:41:13 +0200 Subject: [PATCH] remove omniscale --- js/demo.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/demo.js b/js/demo.js index 0baee0c..6e28a8a 100644 --- a/js/demo.js +++ b/js/demo.js @@ -643,18 +643,12 @@ function setupIsochrone(map, ghIsochrone) { function createMap(divId) { let osmAttr = '© OpenStreetMap contributors'; - let omniscale = L.tileLayer.wms('https://maps.omniscale.net/v1/ghexamples-3646a190/tile', { - layers: 'osm', - attribution: osmAttr + ', © Omniscale' - }); - let osm = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: osmAttr }); - let map = L.map(divId, {layers: [omniscale]}); + let map = L.map(divId, {layers: [osm]}); L.control.layers({ - "Omniscale": omniscale, "OpenStreetMap": osm }).addTo(map); return map;