[Plugin: Lazy Load] Incompatibility with Leaflet Maps Marker
-
I am the developer of the mapping plugin Leaflet Maps Marker (http://www.mapsmarker.com) and a user reported that your plugin is causing my maps to break. This is because your plugin adds unescaped ” to my javascript code which is causing the maps to break:
var osm_mapnik = new L.TileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {maxZoom: 18, minZoom: 1, errorTileUrl: "http://current.mapsmarker.com/wp-content/plugins/leaflet-maps-marker/inc/img/error-tile-image.png", attribution: "Map: © 2012 <a href=\"http://www.openstreetmap.org\" target=\"_blank\">OpenStreetMap contributors</a>, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\" target=\"_blank\">CC-BY-SA</a>", detectRetina: true});I tried to fix this in my plugin but didnt succeed. Could you therefore please change your script in the way that code within <script*>-tags gets ignored? Otherwise I can advise my users only to disable you plugin – which is not what I want…
regards,Robert
The topic ‘[Plugin: Lazy Load] Incompatibility with Leaflet Maps Marker’ is closed to new replies.