Fix: Karte — Locate-Button CSS explizit (#fff, Inline-SVG statt Sprite-Use)

This commit is contained in:
rene 2026-04-17 10:16:09 +02:00
parent a0e1a26bd2
commit 50ec181dba
4 changed files with 16 additions and 14 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '92'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '93'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {

View file

@ -139,7 +139,7 @@ window.Page_places = (() => {
L.Control.Locate = L.Control.extend({
onAdd() {
const btn = L.DomUtil.create('button', 'places-locate-btn');
btn.innerHTML = '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#map-pin"></use></svg>';
btn.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M128,16a96,96,0,1,0,96,96A96.11,96.11,0,0,0,128,16Zm0,176a80,80,0,1,1,80-80A80.09,80.09,0,0,1,128,192Zm0-120a40,40,0,1,0,40,40A40,40,0,0,0,128,72Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,136Z"/></svg>';
btn.title = 'Meinen Standort';
btn.onclick = async () => {
try {