Fix Livewire component structural error and fix JavaScript syntax error in popup content (unexpected token ')')
This commit is contained in:
@@ -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));">📼</span>',
|
||||||
className: '',
|
className: '',
|
||||||
iconSize: [20, 20],
|
iconSize: [20, 20],
|
||||||
iconAnchor: [10, 10]
|
iconAnchor: [10, 10]
|
||||||
|
|||||||
Reference in New Issue
Block a user