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

Refactor InfoClickWin #53

Merged
merged 5 commits into from
Jan 30, 2019

Conversation

chrismayer
Copy link
Collaborator

This PR refactors the InfoClickWin component:

  • Split the components into sub-components CoordsTable and PropertyTable
  • Make the coordinate representations configurable
  • Optimize registering / unregistering of map-click event

This puts the inline table showing coordinates in the InfoClickWin into
an own component CoordsTable.vue.
This ensures that the 'singleclick' handler is only bound to the map
once and is unregistered when the tool is deactivated.
This introduces properties for the CoordsTable to influence which
coordinate types are shown in the table.
This puts the inline table showing the feature properties / attributes
in the InfoClickWin into an own component PropertyTable.vue.
@chrismayer chrismayer merged commit 3086fe4 into wegue-oss:master Jan 30, 2019
@chrismayer chrismayer deleted the refactor-infoclick-win branch January 30, 2019 09:26
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.

1 participant