• parakeet

    (@parakeet)


    This is no longer showing a map on the front-end.

    It works fine in the back-end.

    Here is the code that manifests in the front…

    <div class="leaflet-map" data-height="350" data-map="leaflet" data-map-lng="7.0174313" data-map-lat="43.5507876" data-map-zoom="14" data-map-layers="[&quot;OpenStreetMap&quot;]" data-map-markers="[{&quot;label&quot;:&quot;Palais des Festivals, Boulevard de la Croisette, Cannes, France&quot;,&quot;default_label&quot;:&quot;&quot;,&quot;lat&quot;:43.5507815,&quot;lng&quot;:7.0174321}]"></div>

    The following stylesheet is included at the bottom, and goes to a working file…

    <link rel="stylesheet" id="leaflet-css" href="http://www.example.com/wp-content/plugins/acf-openstreetmap-field/assets/css/leaflet.min.css?ver=1.1.9" type="text/css" media="all">

    That is with the Leaflet JS render setting enabled.

    The iFrame render setting actually still works.

    I don’t see any leaflet.js-type file at the bottom of source.

Viewing 4 replies - 1 through 4 (of 4 total)
  • prescotttt

    (@prescotttt)

    Having the same problem here, although it’s the first time I’ve tried to use this plugin so difficult to diagnose with no working copy to compare it to…

    Managed to get anywhere with it?

    Thread Starter parakeet

    (@parakeet)

    @prescotttt Two months ago, I experienced something stopping working (https://wordpress.org/support/topic/wikimedia-layer-suddenly-stopped-working/) – but it was an individual layer type. That was resolved by using an alternate layer type. This latest issue, I cannot seem to resolve.

    Thread Starter parakeet

    (@parakeet)

    Something seems to have shifted in the last couple of days.

    I have moved hosts.

    And/or something about a change in my caching options.

    But my maps seem to be back.

    Same problem here, the map seems to work in the backend but once the post is published the map cannot display the marker position in the front-end. Any solution for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why has Leaflet JS suddenly stopped working?’ is closed to new replies.