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

Fixes [BUG] Map not responding to span (zoom) requests in Windows #1686 #2323

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

mikelor
Copy link
Contributor

@mikelor mikelor commented Nov 6, 2024

The MoveToRegion command of the Map changes the location but does not change the span or zoom of the map in Windows. The map should change its zoom/span to the requested parameters.

This fix modifies the setRegion method to utilize the additional zoom parameters.

Description of Change

Modifed the setRegion to utilize zoom lat/lon parameters.

See #1686 (comment) for example of fix in action.

Linked Issues

PR Checklist

  • Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls

Additional information

Edition Windows 11 Pro
Version 24H2
Installed on ‎11/‎4/‎2024
OS build 26100.2033
Experience Windows Feature Experience Pack 1000.26100.23.0

@bijington bijington merged commit 63c0618 into CommunityToolkit:main Nov 7, 2024
9 checks passed
@bijington
Copy link
Contributor

Thanks @mikelor

@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Map not responding to span (zoom) requests in Windows
3 participants