Fixes [BUG] Map not responding to span (zoom) requests in Windows #1686 #2323
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
approved
(bug) orChampioned
(feature/proposal)main
at time of PRAdditional 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