Add attribution to leaflet (thanks danieldegroot2)

This commit is contained in:
Edward Betts 2023-11-02 12:28:08 +00:00
parent a09fcb6dd5
commit 768556d1a9

View file

@ -1825,6 +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',
maxZoom: 19,
});
osm.addTo(map);