(no title)
chandlerswift | 2 years ago
Leaflet makes this incredibly simple; just add the suggested text to the attribution field when you initialize the layers:
L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
maxZoom: 19,
attribution: '' // here!
}).addTo(map);
var railwayOverlay = L.tileLayer('https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png', {
attribution: '', // and here!
}).addTo(map);
[0]: https://www.openstreetmap.org/copyright[1]: https://wiki.openstreetmap.org/wiki/OpenRailwayMap/API
[2]: https://drive.google.com/file/d/1P7bhSE-N9iegI398QYDjKeVhnbS... via https://carto.com/legal
unknown|2 years ago
[deleted]