wp-plugin-leaflet-map icon indicating copy to clipboard operation
wp-plugin-leaflet-map copied to clipboard

Markers not rendered with complianz plugin

Open p-petter opened this issue 6 months ago • 8 comments
trafficstars

Thanks for this great plugin! I use Elementor shortcode to display my map with one marker. I try to use it with Complianz Plugin for cookie consent for GDPR compliance. When I disable Complianz the map and the marker get rendered correctly. With enabled Complianz Plugin the map is rendered correctly but the marker does not appear.

Console output:

TypeError: t is undefined
    addTo Layer.js:52
    getGroup construct-leaflet-map.min.js:1
    newMarkerGroup construct-leaflet-map.min.js:1
    getCurrentGroup construct-leaflet-map.min.js:1
    WPLeafletMarkerShortcode (index):1021
    n construct-leaflet-map.min.js:1
    init construct-leaflet-map.min.js:1

Any idea how to fix it?

Thanks

p-petter avatar May 07 '25 23:05 p-petter