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

Replace edit style page with edit default map layer configuration #1985

Open
5 tasks done
dsuren1 opened this issue Mar 12, 2025 · 0 comments · May be fixed by #1987
Open
5 tasks done

Replace edit style page with edit default map layer configuration #1985

dsuren1 opened this issue Mar 12, 2025 · 0 comments · May be fixed by #1987
Assignees
Milestone

Comments

@dsuren1
Copy link

dsuren1 commented Mar 12, 2025

Currently the dataset page provides an Edit Style action in the edit dropdown, this open a new page with the style editor. The Edit Style page contains a custom plugin called VisualStyleEditor that needs to be removed in favor of the default MapStore StyleEditor plugin, in addition we want also to edit the default dataset feature info format.
For the above reasons we are going to replace the Edit Style page with a new page called Edit -> Layer Settings that will open the TOCItemsSettings plugin and allow a user to edit settings for the default map layer, including styles, general info, visibility properties, fields and feature info format. Needed changes:

  • Remove the VisualStyleEditor custom plugin from geonode-mapstore-client
  • Create a new page #/dataset/{pk}/edit/settings
  • Enable the TOCItemsSettings in this new page
    • should be always open
    • header with close button should be hidden
  • Information edited should be saved inside a data payload included inside the api/v2/datasets/{pk} (if this is not supported we need to discuss implementation beckend side)
  • when a user add a geonode dataset inside the map, the default map layers settings saved in data should be used to populate information of the layer

Image

Image

@dsuren1 dsuren1 self-assigned this Mar 12, 2025
@dsuren1 dsuren1 added this to the 5.0.0 milestone Mar 12, 2025
dsuren1 added a commit to dsuren1/geonode-mapstore-client that referenced this issue Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant