Skip to content

Improve CRS selector component #11879

@subashtiwari1010

Description

@subashtiwari1010

To work on the UI/UX of CRS selector to extend it's own functionalities.

Requirements

  • Review UI of the CRS selector button
    • display the current CRS
    • allow to select a different CRS based on a list of preconfigured projection (as we are doing now)
    • [TBD] Usually the list of preconfigured CRS is not long so the filter is not actually needed. We could decide to remove it or make the text inside the button searchable
  • A new settings button with cog icon will allow to open a dialog and select the projections usable in map based on the list of available projections. The dialog should allow a user to:
    • visualize a list of available projection with label and authority id
    • filter the list with text search
    • select the current map projection
    • select the projection usable inside the current map with a checkbox
    • on projection mouse over show the world extent on a map
    • persist applied changes in map configuration
  • Review CRS selector configuration. We should simplify it, now we have a combination of filterAllowedCRS with additionalCRS to configure the default available CRS from localConfig.json. A single configuration should allow user to list all the default available configuration
  • We may decide to allow also not allowed user to see the current selected projection without allowing interaction with it

Mockup

  • New CRS button shows the current selected projection
Image
  • The quick selection will be allowed for the usable projection in map
Image
  • [TBD] Filtering system directly integrated inside the selected CRS. This is probably not actually needed
Image
  • The new dialog allow to navigate and select usable projections from the available ones
Image
  • On mouse over the projection world extent will be previewed on a small map
Image
  • Users to edit or change the current projection will be still able to see the current projection of the map if the plugin is configured
Image

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions