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

Downloadable GeoJSON Files with Edits + Improved GeoJSON Editor #148

Merged
merged 23 commits into from
Aug 28, 2024

Conversation

nicoleiftekhar
Copy link
Contributor

@nicoleiftekhar nicoleiftekhar commented Aug 8, 2024

Switches between levels and layers will save any edits/deletions/additions made to the IMDF model. Once the "Download IMDF" button is clicked, a new zip file will be created by updating the current GeoJSON files with all updated information.

The GeoJSON editor is improved for a better UX. Certain properties (name and category) are editable by users. These edits can then be downloaded when the "Download IMDF" button is clicked. When the name property is changed, the change is automatically set for the label property as well. This change will reflect on the map, but only after an action that refreshes (switching between layers/levels).

When a feature is clicked, the color of the feature changes and stays changed. It can then be unclicked, or another feature can be chosen which will then change the color of that feature to indicate selection and set all other colors to the default.

Edited colors of hover layer to be more in sync with the rest of the conversion tool. Basemap is loaded in as well.

@nicoleiftekhar nicoleiftekhar marked this pull request as ready for review August 9, 2024 22:34
@nicoleiftekhar nicoleiftekhar requested a review from yuqi2 August 9, 2024 22:35
@nicoleiftekhar nicoleiftekhar changed the title Downloadable GeoJSON Files with Edits Downloadable GeoJSON Files with Edits + Improved GeoJSON Editor Aug 14, 2024
@nicoleiftekhar nicoleiftekhar requested a review from nizetic August 26, 2024 21:23
@nicoleiftekhar nicoleiftekhar merged commit a0a6f72 into main Aug 28, 2024
2 of 3 checks passed
@nicoleiftekhar nicoleiftekhar deleted the imdf-save-edits branch August 28, 2024 16:47
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