public void callVM()
 {
     viewModel        = new ViewModelMap(this);
     this.DataContext = viewModel;
     dataLayer        = new MapLayer();
     mymap.Children.Add(dataLayer);
 }
 public CommandMap(ViewModelMap vm)
 {
     _viewModel = vm;
 }