Skip to content

BGDIINF_SB-2890: Fixed elevation profile tracking in lv95 #477

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

Merged
merged 5 commits into from
Oct 23, 2023

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Oct 19, 2023

Fixed the profile tracking when hovering the profile, the point is tracked on the map. This has been brocken when passing to lv95.

Test link

@ltshb ltshb marked this pull request as draft October 19, 2023 14:27
@github-actions github-actions bot added the bug label Oct 19, 2023
@ltshb ltshb added WIP and removed bug labels Oct 19, 2023
@ltshb ltshb mentioned this pull request Oct 19, 2023
17 tasks
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2890-profile-tracking branch from d5127c3 to b62e9d0 Compare October 23, 2023 04:56
@github-actions github-actions bot added the bug label Oct 23, 2023
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2890-profile-tracking branch from b62e9d0 to a132aaf Compare October 23, 2023 05:25
@ltshb ltshb marked this pull request as ready for review October 23, 2023 05:54
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2890-profile-tracking branch from a132aaf to d7a9889 Compare October 23, 2023 06:29
@ltshb ltshb changed the base branch from develop-lv95 to feat-test-link October 23, 2023 06:30
@ltshb ltshb requested a review from pakb October 23, 2023 06:30
Base automatically changed from feat-test-link to develop-lv95 October 23, 2023 07:45
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

Minor details, and the comment on what we've talked about in our last call, and we are good to go! Thanks!

@ltshb ltshb force-pushed the bug-BGDIINF_SB-2890-profile-tracking branch from d7a9889 to 8875bde Compare October 23, 2023 11:00
ltshb added 5 commits October 23, 2023 13:01
This might introduce subtle bugs where we forgot to pass the correct projection.

Better to make it mandatory and let the application crash with a backtrace
when it is missing.
…the correct projection

So there is no need to change it in componenent.
Made the geodesic component projection aware instead of hardcoding it to Web
Mercator.

This solve the bug when hovering the elevation profile the position was not
tracked on the map.
…file

During the drawing of the profile we need to sketch the point of the mouse.
For this we did a wrap X coordinates, I don't know the reason why and it appears
that it is not needed as open layer can handle both coordinates (wrapped and non
wrapped), because this coordinate is only a temporary coordinate I think that is
why it is not needed.

Because to correctly wrap a coordinate you need to know in which projection you
are and that in this event type you don't know it, I removed the wrap x for
simplicity.
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2890-profile-tracking branch from 8875bde to 4bc121e Compare October 23, 2023 11:01
@ltshb ltshb changed the title BGDIINF_SB-2890: Profile tracking BGDIINF_SB-2890: Fixed elevation profile tracking in lv95 Oct 23, 2023
@ltshb ltshb merged commit 356b6d6 into develop-lv95 Oct 23, 2023
@ltshb ltshb deleted the bug-BGDIINF_SB-2890-profile-tracking branch October 23, 2023 11:03
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.

2 participants