private void ClearPolyline_Click(object sender, RoutedEventArgs e) { MyMap.ClearAllMap(); regionVisibility = false; region = null; }