inthehand / Forms.Maps.Platform.WinRT

Xamarin Forms Maps for Windows Phone 8.1
MIT License
3 stars 1 forks source link

[WinRT] Crash when navigating to a page with ToolbarItems #10

Open lploumen opened 8 years ago

lploumen commented 8 years ago

Hi, Thank you for this control ! When navigating to a page which contains a Map and some ToolbarItems, it crashes with an UnhandledException. I could not get the Stacktrace, only the error message which is : "Catastrophic Failure". When removing the ToolbarItems, it works the first time. Next time I open the page , there's an exception here :

  private void Control_LoadingStatusChanged(MapControl sender, object args)
        {
            controlReadyForMoveUpdates = Control.LoadingStatus == MapLoadingStatus.Loaded;
        }

With Control being null.

Any idea what might cause this problem ? I uploaded the MapTest project in case anyone whats to reproduce the problem! Thank you! MapsTest.zip