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

#10167: Set OL as default mapType also for 2D map in mobile #10267

Merged
merged 3 commits into from
May 16, 2024

Conversation

mahmoudadel54
Copy link
Contributor

Description

In this PR, setting OL as a default for 2d map for mobile is done plus editing the scale bar style to be at the left-bottom by adding a custom class 'ol-mobile' for scale bar.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

#10167

What is the current behavior?
#10167

What is the new behavior?
The default map for 2D is openlayers on mobile mode.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

…obile

Description:
- set ol as a default for 2d map for mobile
- edit the scale bar style to be at the left-bottom
@mahmoudadel54 mahmoudadel54 added enhancement Internal BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch Configuration labels Apr 30, 2024
@mahmoudadel54 mahmoudadel54 added this to the 2024.01.01 milestone Apr 30, 2024
@mahmoudadel54 mahmoudadel54 self-assigned this Apr 30, 2024
@tdipisa
Copy link
Member

tdipisa commented May 2, 2024

@allyoucanmap @ElenaGallo let's wait for 2024.01.00 before backporting this.

@tdipisa tdipisa linked an issue May 2, 2024 that may be closed by this pull request
1 task
web/client/components/map/openlayers/ScaleBar.jsx Outdated Show resolved Hide resolved
web/client/plugins/Map.jsx Outdated Show resolved Hide resolved
web/client/themes/default/less/ol.less Outdated Show resolved Hide resolved
…obile

Description:
- remove all related code using ol-mobile
- add the required style for ol-scale-line
…obile

Description:
- remove unused props from openlayers/scalebar.jsx
- edit in ol.less style
@allyoucanmap allyoucanmap merged commit 94637b8 into geosolutions-it:master May 16, 2024
6 checks passed
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test on dev and let us know if we can backport, thanks

@ElenaGallo
Copy link
Contributor

Test passed, @mahmoudadel54 please backport to 2024.01.xx. Thanks

@mahmoudadel54
Copy link
Contributor Author

Test passed, @mahmoudadel54 please backport to 2024.01.xx. Thanks

Backport is done ---> #10337

@ElenaGallo ElenaGallo removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set OL as default mapType also for 2D map in mobile
4 participants