Add attribution to leaflet (thanks danieldegroot2)
This commit is contained in:
parent
a09fcb6dd5
commit
768556d1a9
|
@ -1825,6 +1825,7 @@ export default {
|
||||||
var map = L.map("map", options);
|
var map = L.map("map", options);
|
||||||
var osm_url = "https://tile.openstreetmap.org/{z}/{x}/{y}.png";
|
var osm_url = "https://tile.openstreetmap.org/{z}/{x}/{y}.png";
|
||||||
var osm = L.tileLayer(osm_url, {
|
var osm = L.tileLayer(osm_url, {
|
||||||
|
attribution: '© OpenStreetMap contributors',
|
||||||
maxZoom: 19,
|
maxZoom: 19,
|
||||||
});
|
});
|
||||||
osm.addTo(map);
|
osm.addTo(map);
|
||||||
|
|
Loading…
Reference in a new issue