title: Windows Phone 8.1 with Bing maps returns Access violation
body: <p>I am trying to bind a collections of points to the Bing map control and everything works great for the first time (when I am opening the view with this map for the first time) but every another attempt end up with this pure message in the output window:</p>
  
  <pre><code>The program 'xxx' has exited with code -1073741819 (0xc0000005) 'Access violation'.
  </code></pre>
  
  <p>There is no exceptions, nothing only this message. What I have tried so far is <a href="https://social.msdn.microsoft.com/forums/windowsapps/en-us/fde433e8-87f8-4005-ac81-01b12e016986/debugging-access-violation-exceptions" rel="nofollow">this</a> article from MSDN but without success. I have also tried to run the code on the UI thread but it didn't help.</p>
  
  <p>In the ViewModel I am doing this:</p>
  
  <pre><code>Issues.Completed += () =&gt;
          {
              Locations = new ObservableCollection&lt;MapItemViewModel&gt;();
              foreach (var issueLto in Issues.Result)
              {
                  Locations.Add(new MapItemViewModel
                  {
                      Name = issueLto.Title,
                      Location = new MapPointViewModel
                      {
                          Longitude = issueLto.Longitude,
                          Latitude = issueLto.Latitude
                      }
                  });
              }
  
              MapCenter = Issues.Result.Select(c =&gt; new MapCenterViewModel
              {
                  Location = new MapPointViewModel
                  {
                      Latitude = c.Latitude,
                      Longitude = c.Longitude
                  }
              }).FirstOrDefault();
          };
  </code></pre>
  
  <p>And the XAML:</p>
  
  <pre><code>&lt;maps:MapControl
                MapServiceToken="{StaticResource BingServiceToken}"
                VerticalAlignment="Stretch"
                HorizontalAlignment="Stretch"
                Center="{Binding MapCenter.Location, Converter={StaticResource MapCoordinatesConverter}}"&gt;
                  &lt;maps:MapItemsControl ItemsSource="{Binding Locations}"&gt;
                      &lt;maps:MapItemsControl.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;StackPanel maps:MapControl.Location="{Binding Location, Converter={StaticResource MapCoordinatesConverter}}"&gt;
                                  &lt;TextBlock Text="{Binding Name}" Foreground="Black"/&gt;
                                  &lt;Image Source="../../Assets/mappin.png" Height="25"/&gt;
                              &lt;/StackPanel&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/maps:MapItemsControl.ItemTemplate&gt;
                  &lt;/maps:MapItemsControl&gt;
              &lt;/maps:MapControl&gt;
  </code></pre>