示例#1
0
 public MapControl(DataControl dc, MapView mv)
 {
     dataControl = dc;
     mapView = mv;
     mapView.getInfoButton().IsEnabled = false;
     mapView.sightPinTapped += MapView_sightPinTapped;
     mapView.userPosChanged += MapView_userPosChanged;
     mapView.flyout.sightsListViewItemTapped += flyout_sightsListViewItemTapped;
     createSights();
 }