Link leaflet map attribution to OSM copyright page

This commit is contained in:
Edward Betts 2023-11-02 12:46:47 +00:00
parent 768556d1a9
commit 7f96126d7e

View file

@ -1825,7 +1825,7 @@ export default {
var map = L.map("map", options);
var osm_url = "https://tile.openstreetmap.org/{z}/{x}/{y}.png";
var osm = L.tileLayer(osm_url, {
attribution: OpenStreetMap contributors',
attribution: <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: 19,
});
osm.addTo(map);