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

Enhancing MapViews Layer Options #10633

Open
4 tasks
tdipisa opened this issue Oct 28, 2024 · 0 comments
Open
4 tasks

Enhancing MapViews Layer Options #10633

tdipisa opened this issue Oct 28, 2024 · 0 comments

Comments

@tdipisa
Copy link
Member

tdipisa commented Oct 28, 2024

Description

The MapViews tool has a couple of limitations that make it difficult to use with complex maps with specific needs. When a user adds a Map View, the visibility of the layers will be kept in sync with the visibility of the layers in the TOC; when a layer is activated in the TOC, the change is also applied to the Map View. It is possible to partially or completely disconnect the visibility of the layer in a Map View by toggling the visibility of the layer in the Layer Options settings of the Map View. After this action, a reset symbol appears.

This means that when you want to completely unlink the visibility of TOC layers from the visibility of Map View layers , you need to toggle all layers individually in the Layer Options settings of the Map View. For maps with a limited number of layers, this is not a big problem, but this is a big limitation in the user experience for complex maps with many layers (maybe also with similar names) in different groups.

In order to address the above, this task should include following basic actions:

  • replacing of UI component using the new TOC one
  • introducing groups configuration in views
  • review the workflow of layer overrides: opacity, visibility and clippingPolygon

In addition, due to the above, clipping options for both Terrain and 3D Tiles layers should be differently handled moving them to Globe settings or enhancing the TOC component respectively.

As for the unlink logic, the header should include the following components:

  • an input field to filter the layer nodes (similar to main TOC)
  • a toolbar with following buttons for the whole TOC:
    • global sync/reset button: this button will be available if one or more layers have been modified in the layer options, clicking this button will remove all the view overrides and it will align the state of layers to the one in the map TOC
    • global copy config button: this button will allow the user to copy the layer state (visibility and opacity configurations) of the TOC into the map view. In this way the map view will not be affected by future changes inside the map TOC until you click on the sync button (current reset)

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:

Tasks

Other useful information

@tdipisa tdipisa added this to the 2025.01.00 milestone Oct 28, 2024
@tdipisa tdipisa changed the title Enhancing MapViews Layer List Enhancing MapViews Layer Options Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants