Skip to content

#8338: Implement a terrain layer selector#11087

Merged
allyoucanmap merged 14 commits intogeosolutions-it:masterfrom
mahmoudadel54:issue_8338
Jul 9, 2025
Merged

#8338: Implement a terrain layer selector#11087
allyoucanmap merged 14 commits intogeosolutions-it:masterfrom
mahmoudadel54:issue_8338

Conversation

@mahmoudadel54
Copy link
Copy Markdown
Contributor

Description

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

#8338

What is the current behavior?
#8338

What is the new behavior?

recording1.mp4

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

Description:
- create new components with the new UI for layer selector
- adding terrain selector in case 3D cesium
- add unit tests
- add translation
@mahmoudadel54 mahmoudadel54 added this to the 2025.02.00 milestone May 12, 2025
@mahmoudadel54 mahmoudadel54 self-assigned this May 12, 2025
@mahmoudadel54 mahmoudadel54 added New Feature used for new functionalities 3D All issues related to the 3D rendering in CesiumJs labels May 12, 2025
@mahmoudadel54 mahmoudadel54 linked an issue May 12, 2025 that may be closed by this pull request
2 tasks
mahmoudadel54 and others added 2 commits June 22, 2025 23:32
- remove editable option from save layer
- add terrain options to layer.options instead of layer object root level
- add crs options and version options for terrain layer selector for wms
- handle show radio button icon for terrain
- remove tempLayer/currentLayer that not used
- edit tooltip appearance for background selector
- remove unused props in BackgroundSelector
- remove un-used css files in background like previewicon.css / previewbutton.css
- edit unit tests
Copy link
Copy Markdown
Contributor

@allyoucanmap allyoucanmap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mahmoudadel54 here I have pushed some changes in this commit 120b934 to complete the PR we need to:

  • updated JSDoc of BackgroundSelector by removing the configuration not supported anymore and include description of items support
  • check locally that my changes did not introduced errors
  • provide a fix if unit tests will fail

thanks

…fig and BackgroundSelector plugin

- add/fix unit tests
- fix adding terrain layer to map
- fix choosing first terrain layer after delete current terrain
@allyoucanmap allyoucanmap merged commit c1aab9a into geosolutions-it:master Jul 9, 2025
6 checks passed
@allyoucanmap
Copy link
Copy Markdown
Contributor

@ElenaGallo please test this new feature on dev, thanks

@tdipisa
Copy link
Copy Markdown
Member

tdipisa commented Jul 21, 2025

Hi @ElenaGallo it would be good if you can proceed with testing this on DEV asap today or tomorrow.

@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @mahmoudadel54 please backport. Thanks

MV88 pushed a commit that referenced this pull request Jul 21, 2025
…11087) (#11347)

* Fix #8338: Implement a terrain layer selector

---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

* hot fix for FE failure issue

---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3D All issues related to the 3D rendering in CesiumJs New Feature used for new functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a terrain layer selector

4 participants