[Resolved] [Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] collision with my plugin – Con
hi, i’ve written a map plugin for cf7 – Contact Form 7 Map Field, i too use there the Leaflet library to show a map.
when i have both plugins active there seems to be some collision in code causing the marker icon on my map to disapear!
inspecting the code of my plugin’s map i see the marker icon url is: http://localhost/wordpress/wp-content/plugins/leaflet-maps-marker/leaflet-dist/images/marker-icon.png
this png does not exist of course.
the correct url of the png should be: http://cdn.leafletjs.com/leaflet-0.4.4/images/marker-icon.png
when i DEactivate maps-marker i get the correct url and image.
any idea why does the maps-marker plugin changing this url?
p.s i’ve fixed this in cf7-map plugin v1.4 by giving the marker a new icon with an explicit url, but this is not a best practice. it can be tested with v1.3.
why does it happen?
- The topic ‘[Resolved] [Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)] collision with my plugin – Con’ is closed to new replies.