Skip to content

Middlemarkers not visible on L.Rectangle #211

@sukhisukh

Description

@sukhisukh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions