Hallo,
Frage: Wie verlinke ich zu Open Street Map (OSM)? Muss ich die PNG-Datei von Open Street exportieren? Muss ich sie von OSM referenzieren?
var startPoint = [34.227700, -84.250717];
var map = L.map('map', {attributionControl: false, editInOSMControl: true, editInOSMControlOptions: {position: 'topleft'}}).setView(startPoint, 17),
tilelayer = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {maxZoom: 20, legend: LEGEND, openLegendOnLoad: true, attribution:osmDataAttr}).addTo(map),
hash = new L.Hash(map);
legend = (new L.Control.TileLegend()).addTo(map);
// legend = new L.TileLegend(map, tilelayer, L.DomUtil.get('leaflet-control-tilelegend-container'), LEGEND);
// legend.open();