-
Notifications
You must be signed in to change notification settings - Fork 703
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
MapControl has a blue background #9377
Comments
Thanks for reporting and investigating this. We've checked in a fix for our first 1.5 servicing release. |
@gegao18 What was the change? Is it now wired to the control background? |
@gegao18 Hello? |
For 1.5.1 we just took out the blue background. The maps page now has a transparent background, which will show the default white of the WebView2. I'm reopening this to hook up the map background to the control background for the invalid and zoomed out states. |
@gegao18 Thanks for the follow up! |
Describe the bug
The default background of the mapcontrol is blue. This should be the background color of the MapControl.Background property instead.
Steps to reproduce the bug
Launch the mapcontrol. Before it loads the tiles, you'll see the "blue window of death".
Use Two-finger drag to "tilt" the map into 2.5D mode, and zoom out to the entire world. Notice the blue areas above and below
+
Expected behavior
Background matches the background of my control - at least if it's a solid color brush, you should be able to forward that color to html.
Screenshots
NuGet package version
1.5.240227000
Windows version
22H2 (22621.3085)
Additional context
Problem is caused by this line of code:
microsoft-ui-xaml/controls/dev/MapControl/map.html
Line 19 in a7cc340
It looks like some early debugging code that was never cleaned up.
The text was updated successfully, but these errors were encountered: