-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
onDrawStart and onDrawEnd not working for RModify interaction #220
Comments
It works for me, there must be some other conditions. Do this in the <RInteraction.RDraw
type={'Circle'}
onDrawStart={() => {
console.log('start');
}}
condition={altKeyOnly}
freehandCondition={never}
/> You will see the message when you draw a circle. |
There you put the I noticed that in the Openlayers Spec they use: modifyend (ModifyEvent) - Triggered upon feature modification end |
Ah yes, indeed. You can simply pass |
Ah yes, that's it. Thanks for the quick replies! |
The following event handlers do not execute when changing the feature geometry. I'm on RLayers currently on
2.2.0
.The text was updated successfully, but these errors were encountered: