Skip to content

PB-120: Fix Selected Feature is not Highlighted in 3D map#1366

Merged
pakb merged 2 commits intodevelopfrom
bug-pb-120-cesium-highlight
Jun 26, 2025
Merged

PB-120: Fix Selected Feature is not Highlighted in 3D map#1366
pakb merged 2 commits intodevelopfrom
bug-pb-120-cesium-highlight

Conversation

@ismailsunni
Copy link
Contributor

@ismailsunni ismailsunni commented Jun 18, 2025

@github-actions github-actions bot added the bug label Jun 18, 2025
@ismailsunni ismailsunni requested a review from Copilot June 18, 2025 04:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses PB-120 by ensuring that the selected feature is properly highlighted in the 3D map. The changes rework the highlightPolygon function to recursively handle both single and multi-polygon geometries, and they add descriptive comments to improve code clarity.

  • Refactored highlightPolygon to handle multi-level coordinate arrays.
  • Introduced a recursive getAllPolygonEntities function for better flexibility.
  • Added explanatory comments for improved readability.

@cypress
Copy link

cypress bot commented Jun 18, 2025

web-mapviewer    Run #5466

Run Properties:  status check passed Passed #5466  •  git commit ac2d43ad85: PB-120: Refactor inner function for more readability.
Project web-mapviewer
Branch Review bug-pb-120-cesium-highlight
Run status status check passed Passed #5466
Run duration 05m 09s
Commit git commit ac2d43ad85: PB-120: Refactor inner function for more readability.
Committer Ismail Sunni
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 253
View all changes introduced in this branch ↗︎

@ismailsunni ismailsunni requested review from pakb and sommerfe June 18, 2025 05:18
@ismailsunni ismailsunni requested a review from pakb June 24, 2025 04:06
@ismailsunni ismailsunni force-pushed the bug-pb-120-cesium-highlight branch from 9fdd4c2 to ec172c8 Compare June 24, 2025 04:06
@pakb pakb force-pushed the bug-pb-120-cesium-highlight branch from ec172c8 to ac2d43a Compare June 26, 2025 10:15
@pakb pakb merged commit f39c58c into develop Jun 26, 2025
6 checks passed
@pakb pakb deleted the bug-pb-120-cesium-highlight branch June 26, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants