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

[Backport release_3_7] [Bugfix] JS Digitizing measure : Provide map projection #4738

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Sep 6, 2024

Backport #4730
Authored by: @rldhont

In OL sphere API documentation https://openlayers.org/en/latest/apidoc/module-ol_sphere.html for `getLength` and `getArea`, it is assumed that the default projection is `ESPG:3857`.
If the map is in `EPSG:2154` projection, the `getLength`'s error is arround 40% without projection provided.

Funded by Conseil Départemental du Calvados
@github-actions github-actions bot added this to the 3.7.11 milestone Sep 6, 2024
@github-actions github-actions bot added user interface javascript Pull requests that update Javascript code run end2end If the PR must run end2end tests or not tests unit tests and docker configuration for tests labels Sep 6, 2024
@rldhont rldhont added run end2end If the PR must run end2end tests or not and removed run end2end If the PR must run end2end tests or not labels Sep 6, 2024
@rldhont rldhont merged commit 7d8b3de into 3liz:release_3_7 Sep 9, 2024
14 checks passed
@rldhont rldhont deleted the backport-4730-to-release_3_7 branch September 10, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code run end2end If the PR must run end2end tests or not tests unit tests and docker configuration for tests user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant