Leaflet / Leaflet.Editable

Make geometries editable in Leaflet.
http://leaflet.github.io/Leaflet.Editable/doc/api.html
559 stars 197 forks source link

Middlemarkers not visible on L.Rectangle #211

Open sukhisukh opened 1 year ago

sukhisukh commented 1 year ago

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.