I had a leaflet folder whose markers were dynamically loaded from Custom Post types. This morning I discovered that, totally out of the blue, the map no longer loads and only displays a list of marker data. What could have happened?
My code for the template is:
<div class="">
[leaflet-map address="Elst, Nederland" height="350px" fitbounds dragging scrollwheel]
<Loop type=Locaties>
[leaflet-marker address="<Field adres />, <Field plaats />" iconUrl="/wp-content/uploads/2023/01/voetencentrum-flipse-marker-40x60-4.png"]
<div class="locaties__kaart__popup--card">
<If field=aanduiding_pand><Field aanduiding_pand /></If>
<span> <Field adres />
<Field postcode /> <Field plaats /></span>
<If field=tip_bereikbaarheid >
<Field tip_bereikbaarheid />
</If>
<div class="kaart-locaties__popup--button"><a href="{Field url}">Bekijk onze locatie <Field title /></a> </div>
</div>
[/leaflet-marker]
</Loop>
</div>
In the inspector, I see no errors or issues. Here you can see the situation in the staging environment.