-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
JS Map - Use native zoom levels #4007
Conversation
As discussed together about the print, KISS : same projection everywhere ? Linked to PR 3liz/lizmap-plugin#526 |
Trying to sum up the conversation from yesterday : version <= 3.6 :
Version >= 3.7
|
I'm trying the PR. Looks good ! Side question, whatever the checkbox about native scales, if the map list has only two values, we have native, right ? |
According to JS code, it seems not, but anyway, very rare to have only two values in this list. |
649e2ed
to
71371e0
Compare
@nboisteault @Gustry ready for reiews |
For EPSG:3857 and others if only 2 scales are defined, the native zoom levels are used for the Map. Some legacy codes are removed. FUnded by 3Liz
71371e0
to
6255665
Compare
Linked to 3liz/lizmap-plugin#537 |
Indeed, it doesn't happen anymore. LGTM for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the test side
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release_3_7 release_3_7
# Navigate to the new working tree
cd .worktrees/backport-release_3_7
# Create a new branch
git switch --create backport-4007-to-release_3_7
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 6678ebfdd3f81235212cdd1ede253e8ec0420395,f9008de2aa03c4c0d7375b7a606ff9f6f9bd076e,1beeb89fa3145bcd084802cec15bf9bf9bccbf77,c3a45ca933058adec2439ace7f60e7cae6e432fc,3da806b6ee0b8be59931bc01c35050d1809235cb,50d383d24cac91054deaeeeaac26b3ab538deef1,6255665daf1de9f53b2dbbd9d420af113bb25c8c
# Push it to GitHub
git push --set-upstream origin backport-4007-to-release_3_7
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release_3_7 Then, create a pull request where the |
For EPSG:3857 and others if only 2 scales are defined, the native zoom levels are used for the Map.
Some legacy codes are removed.
FUnded by 3Liz