leaflet-kml broken?
-
Hello,
I’m including kml files with
[leaflet-kml src=”/valid/path/to/my.kml” popup_text=”mytext” color=”#FF0000″]This doesn’t work with the version 2.8.2:
VM200:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at XMLHttpRequest.xhr.onreadystatechange (leaflet-ajax-geojson.js?ver=1.0:25)
xhr.onreadystatechange @ leaflet-ajax-geojson.js?ver=1.0:25
XMLHttpRequest.send (async)
onAdd @ leaflet-ajax-geojson.js?ver=1.0:34
_layerAdd @ leaflet.js?ver=1.1.0:6
whenReady @ leaflet.js?ver=1.1.0:6
addLayer @ leaflet.js?ver=1.1.0:6
addTo @ leaflet.js?ver=1.1.0:6
(anonymous) @ (index):408
Main.init @ construct-leaflet-map.js?ver=1.0:10Thank you very much.
- The topic ‘leaflet-kml broken?’ is closed to new replies.