Home › Forums › Feature Requests › OpenStreetMap support › Reply To: OpenStreetMap support
This plugin is no longer showing a map on the front-end for me.
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="["OpenStreetMap"]" data-map-markers="[{"label":"Palais des Festivals, Boulevard de la Croisette, Cannes, France","default_label":"","lat":43.5507815,"lng":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; don’t know if that’s necessary.
Anyone know what’s going on?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.