Fix: Karte — Zoom-Ausrichtung, 'Z14' kürzer, Marker-Count ausgeblendet
- leaflet-top padding-top 28→33px (Zoom-Buttons mittig zu 2 Filter-Reihen) - Zoom-Anzeige: 'Zoom 14 · ab 14: alle Layer' → 'Z14' (Hinweis als title) - #map-osm-status ausgeblendet (Marker-Anzahl nimmt Platz von Wetter etc.) - components.css ?v=1012, SW by-v1019, APP_VER 1019
This commit is contained in:
parent
562d64979f
commit
e44414015a
6 changed files with 10 additions and 10 deletions
|
|
@ -216,7 +216,7 @@ window.Page_map = (() => {
|
|||
|
||||
<div class="map-statusbar" id="map-statusbar">
|
||||
<span id="map-zoom-info"></span>
|
||||
<span id="map-osm-status"></span>
|
||||
<span id="map-osm-status" style="display:none"></span>
|
||||
<span class="map-statusbar-sep map-weather-chip--hidden" id="map-weather-sep">·</span>
|
||||
<span class="map-weather-chip--hidden" id="map-weather-info"></span>
|
||||
</div>
|
||||
|
|
@ -619,9 +619,9 @@ window.Page_map = (() => {
|
|||
const z = Math.round(_map.getZoom());
|
||||
const el = document.getElementById('map-zoom-info');
|
||||
if (!el) return;
|
||||
if (z < 10) { el.textContent = `Zoom ${z} · ab 10: Giftköder`; el.style.opacity = '0.5'; }
|
||||
else if (z < 14) { el.textContent = `Zoom ${z} · ab 14: alle Layer`; el.style.opacity = '0.7'; }
|
||||
else { el.textContent = `Zoom ${z}`; el.style.opacity = '1'; }
|
||||
if (z < 10) { el.textContent = `Z${z}`; el.title = 'Ab Z10: Giftköder'; el.style.opacity = '0.5'; }
|
||||
else if (z < 14) { el.textContent = `Z${z}`; el.title = 'Ab Z14: alle Layer'; el.style.opacity = '0.7'; }
|
||||
else { el.textContent = `Z${z}`; el.title = ''; el.style.opacity = '1'; }
|
||||
}
|
||||
|
||||
function _setOsmStatus(text, pct = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue