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

displayControlsDefault prop did not work #4

Open
device25 opened this issue Mar 25, 2019 · 2 comments
Open

displayControlsDefault prop did not work #4

device25 opened this issue Mar 25, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@device25
Copy link
Member

displayControlsDefault={false} does not hide controls

@device25 device25 added the bug Something isn't working label Mar 25, 2019
@KaiHuebner
Copy link

I found a workaround for this, just disable all controls individually.

<Draw
    pointControl={false}
    lineStringControl={false}
    polygonControl={false}
    trashControl={false}
    combineFeaturesControl={false}
    uncombineFeaturesControl={false}
/>

@stepankuzmin
Copy link
Member

@device25 maybe we can document this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants