-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error: You must provide a featureId to enter direct_select mode #18
Comments
This seems to have to do with how the component is updating currently with if (prevProps.mode !== this.props.mode) {
this._draw.changeMode(this.props.mode, this.props.modeOptions);
} With a The way around it for me was to forego manipulating |
Do you happen to have an example of this? I'm trying to manipulate mode with React State to no avail |
This worked for me:
|
Got this error when using change mode example.
For reproducing it, create a line or polygon and then click the map (the feature now cannot be edited) and then double click the feature.
The text was updated successfully, but these errors were encountered: