Skip to content

Fix #12112 Harmonize plugins MousePosition , CameraPosition and Print with availableProjections property.#12113

Merged
dsuren1 merged 5 commits intogeosolutions-it:masterfrom
anup39:fix_harmonize_projections_12112
Mar 26, 2026
Merged

Fix #12112 Harmonize plugins MousePosition , CameraPosition and Print with availableProjections property.#12113
dsuren1 merged 5 commits intogeosolutions-it:masterfrom
anup39:fix_harmonize_projections_12112

Conversation

@anup39
Copy link
Copy Markdown
Member

@anup39 anup39 commented Mar 18, 2026

Description

This PR adds following:

  1. New property availableProjections in CameraPosition and MousePosition Plugin and fallback logic for deprecated property like additionalCRS and filterAllowedCRS.
  2. Changed projectionOptions.projections to projectionOptions.availableProjections to make consistent use of name.
  3. JSDoc update.

Please check if the PR fulfills these requirements

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

  • Minor Change

Issue

What is the current behavior?

#12112

What is the new behavior?

Mouse Position , Camera Position Plugin make use of availableProjections as a priority list for CRS selector.

Breaking change

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

  • No

Other useful information

…ition and Print with available projections prop
@anup39 anup39 added this to the 2026.01.01 milestone Mar 18, 2026
@cla-bot cla-bot bot added the CLA Ready label Mar 18, 2026
@anup39 anup39 linked an issue Mar 18, 2026 that may be closed by this pull request
1 task
@anup39 anup39 requested a review from allyoucanmap March 18, 2026 15:55
@allyoucanmap allyoucanmap requested review from dsuren1 and removed request for allyoucanmap March 19, 2026 10:58
@allyoucanmap allyoucanmap assigned dsuren1 and unassigned allyoucanmap Mar 19, 2026
Copy link
Copy Markdown
Contributor

@dsuren1 dsuren1 left a comment

Choose a reason for hiding this comment

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

@anup39
Kindly check the comment on Print projection and cfg structure. Thanks!

Comment thread web/client/plugins/Print.jsx
Comment thread web/client/plugins/Print.jsx
@anup39 anup39 requested a review from dsuren1 March 25, 2026 13:01
Comment thread docs/developer-guide/mapstore-migration-guide.md
@anup39 anup39 requested a review from dsuren1 March 26, 2026 12:06
Comment thread docs/developer-guide/mapstore-migration-guide.md Outdated
@dsuren1 dsuren1 enabled auto-merge (squash) March 26, 2026 12:29
@dsuren1 dsuren1 merged commit 84e864c into geosolutions-it:master Mar 26, 2026
12 checks passed
@dsuren1
Copy link
Copy Markdown
Contributor

dsuren1 commented Mar 26, 2026

@ElenaGallo Kindly test it in DEV when available. Thanks!

@offtherailz
Copy link
Copy Markdown
Member

tdipisa pushed a commit that referenced this pull request Apr 10, 2026
… with availableProjections property. (#12113) (#12246)

* Fix #12112 Harmonize plugins MousePosition , CameraPosition and Print with available projections prop

* Update migration guide

* Fix harmonize print plugin with available projections

* Fixed migration for print

* Update docs/developer-guide/mapstore-migration-guide.md

---------


(cherry picked from commit 84e864c)

Co-authored-by: Anup Dahal <adahal39@gmail.com>
Co-authored-by: Suren <dsuren1@gmail.com>
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.

Harmonize MapStore plugins projections configurations.

5 participants