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

Properly toggle urbanisme tool when another drawing tool is activated #54

Merged

Conversation

alexander-fedorenko
Copy link
Collaborator

@alexander-fedorenko alexander-fedorenko commented May 12, 2022

This PR provides set of changes on the urbanisme extension side to properly toggle its status according to the selected drawing tool. See georchestra/mapstore2-georchestra#530 as a reference

Following rules are applied:

  • Urbanisme tool toggled off - modal with info properly deactivated.
  • Annotation coordinate editor open: urbanisme tool toggled off.
  • Measure activated: urbanisme tool toggled off
  • Street View activated: urbanisme tool toggled off.
  • Cadastrapp selection tool activated: urbanisme tool toggled off.
  • Feature editor activated: urbanisme tool toggled off.
  • Layer filter - drawing of the area for filter is active, urbanisme tool toggled off.

…pen.

Do not purgeMapinfoResults because it forces annotation edit mode to close.
@alexander-fedorenko
Copy link
Collaborator Author

Applied simplified and improved logic of toggling urbanisme tools off whenever another tool starts drawing interaction.
@allyoucanmap ready for review

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