• Hi,

    I am the developer of Leaflet Maps Marker & Maps Marker Pro and a user reported an incompatibility with your plugin: if your plugin is active, Google Maps stop working properly, as you also enqueue the related script via wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js?sensor=false', null, null);

    My plugin has an option to dequeue scripts from other plugins with this source, anyway this does not work for your plugin, as the handle ‘googlemaps’ is later defined as dependency for wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.8");, resulting in this script being enqueued again.

    I could now enhance my dequeue-mechanism to also dequeue ‘WP-GPX-Maps’ but this would mean maps from both our plugins could not be displayed on the same site.

    Therefore I wonder if you could enqueue the script on frontend only on pages where your shortcode is used – this would help a lot.
    best,

    Robert

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin incompatibility with Leaflet Maps Marker & Maps Marker Pro’ is closed to new replies.