UWP MapControl crashes after zooming in

前端 未结 5 1831
失恋的感觉
失恋的感觉 2021-01-19 03:07

I created a simple UWP application with no code, just XAML.

    
        
    <         


        
相关标签:
5条回答
  • 2021-01-19 03:14

    One of the maps services was returning bad data. This has been mitigated and the control should be working normally now.

    0 讨论(0)
  • 2021-01-19 03:18

    I made a test for this. The sample works correctly in Build 2004 but it crashes in Build 20H2. If I remove the code that changes the ZoomLevel property, the sample will work correctly in Build 20H2 as well. I'll report this to the team.

    0 讨论(0)
  • 2021-01-19 03:21

    This is the support response I got from Microsoft:

    Upon investigation, the Bing Maps UWP control was inadvertently unable to handle a certain condition around the tiles. To mitigate this issue, our Product Group has initiated rolling back the change that impacted this experience. This issue should be beginning to resolve within the next hour, if not already.

    This issue is now resolved.

    0 讨论(0)
  • 2021-01-19 03:22

    I am facing exactly same issue. I have been testing my application for the last 2 months and it never crashed because of MapControl. I submitted the application on the store last week and yet no crash.

    Suddenly, it started crashing today whenever the user navigated to map page containing PivotControl for different weather layers.

    I don't think this has anything to do with Windows 10 build. I am facing this issue across multiple builds (1803, 1903 & 2004).

    Here are my few observations.

    1. It works when I remove other Pivot Items and leave just one.
    2. It also works when I remove "ZoomLevel" property and leave all the pivot items.

    It seems that Microsoft has changed something at the service end.

    0 讨论(0)
  • 2021-01-19 03:34

    This happens to me also, it was just working fine yesterday and today the app is crashing when opening the page with the MapControl on it. Removing the ZoomLevel property helped.

     <maps:MapControl ZoomLevel="12" /> <!-- Crashed -->
     <maps:MapControl /> <!-- Working -->
    

    Removing the ZoomLevel property but zoom in manual (or with mouse scrolling) the app is crashing while zooming in to far.

    Temporary workaround:

     <maps:MapControl ZoomInteractionMode="Disabled" /> <!-- Better -->
    

    Happens on Windows 10 Build 2004 also.

    0 讨论(0)
提交回复
热议问题