We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d657bc commit 1ca61beCopy full SHA for 1ca61be
1 file changed
js/main.js
@@ -21,7 +21,7 @@ const rit = (position) => {
21
let element = document.getElementById('osm-map');
22
element.style = 'height:300px;';
23
let map = L.map(element);
24
- L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
+ L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
25
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
26
}).addTo(map);
27
let target = L.latLng(position.coords.latitude, position.coords.longitude);
0 commit comments