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

How do I disable editing mode after polygon is being drawn? #1202

Open
panhabot opened this issue Oct 6, 2023 · 0 comments
Open

How do I disable editing mode after polygon is being drawn? #1202

panhabot opened this issue Oct 6, 2023 · 0 comments

Comments

@panhabot
Copy link

panhabot commented Oct 6, 2023

mapbox-gl-js version: v2.14.1
mapbox-gl-draw version: v1.4.3

Description

After drawing is created once, I want to disable editing mode in order to prevent changing the drawing path. On the other hands, I want the ability to drag move as is.

Steps to Trigger Behavior

Expected Behavior

I try using simple_select. I am expecting that the editing mode is off and drag is still working.

Actual Behavior

Drag is not working

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