When using "meshcore_directlinks_playback.html "the map tiles appear with the error "403r referer is required by tile usage policy of openstreetmaps"
I changed the html file from;
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap'
}).addTo(map);
to:
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap',
referrerPolicy: 'strict-origin-when-cross-origin'
}).addTo(map);
I'm not sure if it's the correct way but the 403r error on the maps no longer appears.
When using "meshcore_directlinks_playback.html "the map tiles appear with the error "403r referer is required by tile usage policy of openstreetmaps"
I changed the html file from;
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap'
}).addTo(map);
to:
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap',
referrerPolicy: 'strict-origin-when-cross-origin'
}).addTo(map);
I'm not sure if it's the correct way but the 403r error on the maps no longer appears.