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_8] [Bugfix] JS Digitizing measure : Provide map projection #4735

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

3liz-bot
Copy link
Contributor

@3liz-bot 3liz-bot 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.8.1 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 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 d4efaa0 into release_3_8 Sep 6, 2024
14 checks passed
@rldhont rldhont deleted the backport-4730-to-release_3_8 branch September 6, 2024 08:11
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 user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants