Title: deferred javascript is breaking maps
Last modified: August 30, 2016

---

# deferred javascript is breaking maps

 *  [folgerj](https://wordpress.org/support/users/folgerj/)
 * (@folgerj)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/deferred-javascript-is-breaking-maps/)
 * I just upgraded the maps plugin and got this:
    Warning: the plugin “WP Deferred
   JavaScripts” is active and causing maps to break – please deactivate that plugin!
 * I’m using your plugin in one article out of over 259 articles and I need it to
   be deferred for added speed (or says Google at least) So let me know when your
   plugin can be deferred and I will reactivate it.
 * Yours is a very valuable plugin and I really want it active again…
 * [https://wordpress.org/plugins/leaflet-maps-marker/](https://wordpress.org/plugins/leaflet-maps-marker/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/deferred-javascript-is-breaking-maps/#post-6538614)
 * Hi,
    unfortunately I couldnt find a workaround on getting Leaflet Maps Marker
   and WP Deferred Javascript to work together – the plugin is altering the way 
   javascript is added and does not allow to add exceptions for my plugin, this 
   leads in maps to break. Other caching & performance plugins are more flexible
   here – I personally often use W3 Total Cache on my sites with active page-, object-,
   database-cache as well as minifaction and browser cache active (can be enabled
   in Performance / General Settings) – this usually helps to speed up the site 
   very significantly (even better if the host is also already using PHP 5.6 for
   example) best, Robert

Viewing 1 replies (of 1 total)

The topic ‘deferred javascript is breaking maps’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/deferred-javascript-is-breaking-maps/#post-6538614)
 * Status: not resolved