-
Notifications
You must be signed in to change notification settings - Fork 49
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
Attribute table #595
Comments
jacobwod
added a commit
that referenced
this issue
Mar 11, 2022
- Rough implementation that assumes WFS service on the same endpoint. - Prepares the data for MUI's DataGrid and logs to console currently.
jacobwod
added a commit
that referenced
this issue
Mar 11, 2022
- Refactored - Ready for MUI's DataGrid - Excludes the geom column from displayed columns - Pretty much ready to hook into a Dialog or Window component and display the Data Grid now.
jacobwod
added a commit
that referenced
this issue
Mar 14, 2022
- This is part of #595. - Upon clicking on the 'show attribute table' button, a full screen dialog is shown. I've experimented with different solutions, including non-fullscreen. I'm still open for another implementation in floating Window though, if someone would like to give it a go. - SimpleDialog is _outside_ LayerSwitcher component. I started out with having it inside, but eventually I figured that there could be reasons to call this from other parts of code than just LayerSwitcher. So it's placed in components, subscribes on global observer and renders directly in <App />. - I'll add a flag, on a per-layer-basis, that will control the visibility of the attribute table button. I'll call it 'showAttributeTableButton'. - We might like to make it a map setting too, we'll see. - Finally, added some Tooltips to LayerSwitcherItem.
Here's the currently upcoming implementation. Due to limited time resources, I'm only implementing the full screen dialog for now. Feel free to extend with other view modes. Skarminspelning.2022-03-15.kl.08.25.03.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the solution you'd like
It would be really nice to have an attribute table that displays a list of all features within a layer. Sorting the features based on fields would also be good. I guess that this type of tool already has been up for discussion since it's such a usual tool to have in a GIS-application?
The text was updated successfully, but these errors were encountered: