Leaflet/Leaflet.Editable

Middlemarkers not visible on L.Rectangle

sukhisukh opened this issue · 0 comments

I need to display additional handles on the rectangle in addition to the vertices when I am editing the rectangle. I am using Leaflet.Editable and drawing the rectangle as below:
var rectangle = new L.rectangle(bounds, { color: "#ff7800", weight: 1 }).addTo(map);
rectangle.enableEdit();

I want to add handles in between to two vertex.

I tried setting skipmiddlemarkers to false, lineGuideOptions to options:true. But these are not working. Also tried adding L.marker(point).addTo(map) but its adding a drop pin which is not editable with the rectangle.

Thank you.