private void AddPolygonBtn_Clicked(object sender, Windows.UI.Xaml.RoutedEventArgs e) { var locs = GetSamplePoints(); MyMap.AddPolygon(locs, GetRandomColor(), GetRandomColor(), 2); }