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

New event pm:layerreset #802

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

Falke-Design
Copy link
Collaborator

New event pm:layerreset which is called when polyline /-gon are reset because of a self-intersection and added intersectionReset flag to pm:markerdragend which indicates if the layer will be reset.

Event order:

  1. pm:markerdragend
    1.1. if intersectionReset == true --> pm:layerreset
    1.2. if intersectionReset == false --> pm:edit

Idea comes from: #800

@codeofsumit codeofsumit merged commit 2b34959 into geoman-io:develop Mar 22, 2021
@Falke-Design Falke-Design deleted the layer_reset_event branch March 31, 2021 11:36
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

Successfully merging this pull request may close these issues.

2 participants