Fix Livewire component structural error and fix JavaScript syntax error in popup content (unexpected token ')')

This commit is contained in:
2026-05-28 16:34:02 +02:00
parent 052e1397df
commit 2711dcf2f2
@@ -298,7 +298,6 @@
.leaflet-container { z-index: 0 !important; } .leaflet-container { z-index: 0 !important; }
</style> </style>
<script> <script>
</div>
let map; let map;
const layers = {}; const layers = {};
let imageMarkersLayer = null; let imageMarkersLayer = null;
@@ -424,7 +423,7 @@
if (s && m && m.length > 0) { if (s && m && m.length > 0) {
imageMarkersLayer = L.layerGroup().addTo(map); imageMarkersLayer = L.layerGroup().addTo(map);
const photoIcon = L.divIcon({ const photoIcon = L.divIcon({
html: '<span style="font-size: 20px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));">🖼️</span>', html: '<span style="font-size: 20px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));">&#128252;</span>',
className: '', className: '',
iconSize: [20, 20], iconSize: [20, 20],
iconAnchor: [10, 10] iconAnchor: [10, 10]