Skip to content

PB-1310: 3D navigation compass was not showing#1179

Merged
ltkum merged 1 commit intodevelopfrom
hotfix-compass-not-showing
Jan 6, 2025
Merged

PB-1310: 3D navigation compass was not showing#1179
ltkum merged 1 commit intodevelopfrom
hotfix-compass-not-showing

Conversation

@ltkum
Copy link
Contributor

@ltkum ltkum commented Dec 20, 2024

Issue: The compass in the 3d viewer was hidden

Cause: We checked before there was an instance of the component if we could add the scene and the clock to the compass element, meaning it would create an empty compass.

Fix: We wait for the map to be ready before adding the compass

Test link

@ltkum ltkum requested a review from hansmannj December 20, 2024 10:02
@github-actions github-actions bot changed the title Hotfix: 3D navigation compass was not showing Hotfix: 3D navigation compass was not showing - #patch Dec 20, 2024
@ltkum ltkum changed the base branch from master to develop December 20, 2024 10:07
Issue: The compass in the 3d viewer was hidden

Cause: We checked before there was an instance of the component if we could add the scene and the clock to the compass element, meaning it would create an empty compass.

Fix: We wait for the map to be ready before adding the compass
@ltkum ltkum force-pushed the hotfix-compass-not-showing branch from dd57729 to 65aa2c0 Compare December 20, 2024 10:07
@ltkum ltkum changed the title Hotfix: 3D navigation compass was not showing - #patch Hotfix: 3D navigation compass was not showing Dec 20, 2024
@cypress
Copy link

cypress bot commented Dec 20, 2024

web-mapviewer    Run #4185

Run Properties:  status check passed Passed #4185  •  git commit 76295f326a: Merge pull request #1179 from geoadmin/hotfix-compass-not-showing
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4185
Run duration 01m 49s
Commit git commit 76295f326a: Merge pull request #1179 from geoadmin/hotfix-compass-not-showing
Committer Martin Künzi
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 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 48
View all changes introduced in this branch ↗︎

@ltkum ltkum changed the title Hotfix: 3D navigation compass was not showing PB-1310: 3D navigation compass was not showing Dec 20, 2024
@ltkum ltkum requested a review from pakb January 6, 2025 07:39
Copy link
Member

@hansmannj hansmannj left a comment

Choose a reason for hiding this comment

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

Thanks 👍
Looks good as far as I can tell!

@ltkum ltkum merged commit 76295f3 into develop Jan 6, 2025
@ltkum ltkum deleted the hotfix-compass-not-showing branch January 6, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants