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

Sharing map with marker will not record the correct map center #10807

Open
1 task done
MV88 opened this issue Feb 12, 2025 · 0 comments · Fixed by #10808 · May be fixed by #10847
Open
1 task done

Sharing map with marker will not record the correct map center #10807

MV88 opened this issue Feb 12, 2025 · 0 comments · Fixed by #10808 · May be fixed by #10847
Assignees
Labels
Milestone

Comments

@MV88
Copy link
Contributor

MV88 commented Feb 12, 2025

Description

Sometimes and this depends on a race condition when CHANGE_MAP_VIEW actionorder occurs

How to reproduce

  • Open the map at this link https://mapstore.geosolutionsgroup.com/mapstore/#/viewer/7903
  • Click on the share button on the task bar, on the share dialog select 'Link'
  • In the options below check the following checkboxes: Add Center and zoom to sharing link, Add marker on loaded map.
  • Copy the resulting map sharing link and paste it on another browser window.

Expected Result

Current Result

Observe how the center of the map isn't the same one as set when sharing the map it is displaced. The marker position is correct instead but the map position is not

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

@MV88 MV88 added the bug label Feb 12, 2025
@MV88 MV88 added this to the 2025.01.00 milestone Feb 12, 2025
@MV88 MV88 self-assigned this Feb 12, 2025
MV88 added a commit to MV88/MapStore2 that referenced this issue Feb 12, 2025
MV88 added a commit to MV88/MapStore2 that referenced this issue Feb 12, 2025
MV88 added a commit to MV88/MapStore2 that referenced this issue Feb 21, 2025
@MV88 MV88 linked a pull request Feb 21, 2025 that will close this issue
12 tasks
@tdipisa tdipisa reopened this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment