Skip to content

Commit 1ca61be

Browse files
committed
Update the tileserver URL scheme
1 parent 3d657bc commit 1ca61be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const rit = (position) => {
2121
let element = document.getElementById('osm-map');
2222
element.style = 'height:300px;';
2323
let map = L.map(element);
24-
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
24+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
2525
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
2626
}).addTo(map);
2727
let target = L.latLng(position.coords.latitude, position.coords.longitude);

0 commit comments

Comments
 (0)