Hello, I am using leaflet v1.1.0 and latest Editable.
let polygon = L.polygon(coords, { color }).addTo(map);
polygon.enableEdit();
2nd line gives:
Uncaught TypeError: L.Polyline._flat is not a function
at NewClass.initVertexMarkers (Leaflet.Editable.js:1022)
at NewClass.addHooks (Leaflet.Editable.js:1015)
Hello, I am using leaflet v1.1.0 and latest Editable.
2nd line gives: Uncaught TypeError: L.Polyline._flat is not a function at NewClass.initVertexMarkers (Leaflet.Editable.js:1022) at NewClass.addHooks (Leaflet.Editable.js:1015)