Closed Mannshoch closed 8 years ago
Not able to reproduce this. See screenshots:
Also note: this is a fresh install of WordPress with the latest plugin. Perhaps you are not using Wordpress?
I Use Wordpress 4.5.3 with Leaflet Map 1.16 Didn't changed any settings in Leaflet.
As a test I copied the short tags form the examples in Backend to a Site. (the shortcodes work in Backend)
Tested again on Firefox. My best guess is that there's a conflict with another plugin? Perhaps you could try deactivating plugins temporarily to see if that solves it. Otherwise, it's possible that the theme you're using has removed the <?php wp_head(); ?>
from the header.php. In that case, the javascript file that defines WPLeafletMapPlugin
wouldn't have loaded.
Correct. The following app was evil one: https://wordpress.org/plugins/autoptimize/
ah, perhaps that plugin renamed the WPLeafletMapPlugin
variable, or moved it to the footer instead. In Firebug I think you should be able to figure out if it was loaded at all by typing the variable name to see if it exists in the window scope. Glad it's resolved either way.
If I setup Markers I'm not able to see anything. Firebug give me following errors.