Skip to content

Controls option show/hide threw state not working #119

@Anand-rana

Description

@Anand-rana

1: create controls state
state =
controls: {
polygon: true,
trash: true,
},
}

  1. Hide contorls when change state .
    onDrawCreate = () => {
    this.setState({ controls: { polygon: false } });
    };

controls not hide in jsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions