diff --git a/src/lib/Leaflet.svelte b/src/lib/Leaflet.svelte index a23878e..f7eed9c 100755 --- a/src/lib/Leaflet.svelte +++ b/src/lib/Leaflet.svelte @@ -15,11 +15,11 @@ var osmLayer = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, - attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>', + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>', className: 'osm-layer' }); - var seamarkLayer = L.tileLayer('http://t1.openseamap.org/seamark/{z}/{x}/{y}.png', { + var seamarkLayer = L.tileLayer('https://t1.openseamap.org/seamark/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© <a href="https://www.openseamap.org/">OpenSeaMap</a>' });