Plugin conflict with Leaflet Maps Marker & Maps Marker Pro
-
Hi,
a user of my mapping plugin “Leaflet Maps Marker” reported an incompatibility of my plugin with your plugin.
I installed your plugin and activated the javascript optimize option. Afterwards I added leaflet.js to the exclude option. Nevertheless the map couldnt be loaded (example: https://www.mapsmarker.com/dev/free/2015/05/30/shortcode-test-2/) as it seems as the Google API javascript also gets optimized by your plugin and I do not know how to add this to the exclude list.
Here is the code for loading Google API:
wp_enqueue_script( 'leafletmapsmarker-googlemaps-loader', $protocol_handler . '://www.google.com/jsapi?key='.$google_maps_api_key, array(), NULL);
As you exclusion list only seems to support filenames (like leaflet.js), I wonder if you could add an option to also support script-handles here, so that my users can add leafletmapsmarker-googlemaps-loader too, which would hopefully result in maps being loaded again.
Looking forward to your reply!
Robert
- The topic ‘Plugin conflict with Leaflet Maps Marker & Maps Marker Pro’ is closed to new replies.