Karte: Leaflet-Attribution vollstaendig entfernen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7358a28cc7
commit
85bab155cb
1 changed files with 6 additions and 6 deletions
|
|
@ -60,7 +60,12 @@ window.Page_poison = (() => {
|
|||
|
||||
<div id="poison-map"
|
||||
style="height:280px;border-radius:var(--radius-md);overflow:hidden;
|
||||
margin-bottom:var(--space-4);background:var(--c-surface-2)">
|
||||
background:var(--c-surface-2)">
|
||||
</div>
|
||||
<div style="font-size:10px;color:var(--c-text-secondary);
|
||||
text-align:right;margin-bottom:var(--space-4);
|
||||
padding:2px var(--space-2) 0">
|
||||
© OpenStreetMap-Mitwirkende
|
||||
</div>
|
||||
|
||||
<p id="poison-info"
|
||||
|
|
@ -120,11 +125,6 @@ window.Page_poison = (() => {
|
|||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
}).addTo(_map);
|
||||
|
||||
// OSM-Pflichtangabe ohne externe Links
|
||||
L.control.attribution({ prefix: false })
|
||||
.addAttribution('© OpenStreetMap-Mitwirkende')
|
||||
.addTo(_map);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue