Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middlemarkers not visible on L.Rectangle #211

Open
sukhisukh opened this issue Feb 20, 2023 · 0 comments
Open

Middlemarkers not visible on L.Rectangle #211

sukhisukh opened this issue Feb 20, 2023 · 0 comments

Comments

@sukhisukh
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant