Esempio n. 1
0
        public GISMainMap(SurfaceWindow1 ProgramWindow)
        {
            InitializeComponent();
            //Set focus on the map
            MapTileOverlay.Focus();

            //  SetUpNewPolygon();
            // Adds location points to the polygon for every single mouse click
            MapTileOverlay.MouseDoubleClick += new MouseButtonEventHandler(
                MapWithPolygon_MouseDoubleClick);

            // Adds the layer that contains the polygon points
            // NewPolygonLayer.Children.Add(polygonPointLayer);

            // Displays the current latitude and longitude as the map animates.
            MapTileOverlay.ViewChangeOnFrame += new EventHandler <MapEventArgs>(viewMap_ViewChangeOnFrame);
            // The default animation level: navigate between different map locations.
            //viewMap.AnimationLevel = AnimationLevel.Full;

            // surfacewindow is a global handle back to the main program.
            surfaceWindow = ProgramWindow;
        }
        public GISMainMap(SurfaceWindow1 ProgramWindow)
        {
            InitializeComponent();
            //Set focus on the map
            MapTileOverlay.Focus();

              //  SetUpNewPolygon();
            // Adds location points to the polygon for every single mouse click
            MapTileOverlay.MouseDoubleClick += new MouseButtonEventHandler(
               MapWithPolygon_MouseDoubleClick);

            // Adds the layer that contains the polygon points
               // NewPolygonLayer.Children.Add(polygonPointLayer);

            // Displays the current latitude and longitude as the map animates.
            MapTileOverlay.ViewChangeOnFrame += new EventHandler<MapEventArgs>(viewMap_ViewChangeOnFrame);
            // The default animation level: navigate between different map locations.
            //viewMap.AnimationLevel = AnimationLevel.Full;

            // surfacewindow is a global handle back to the main program.
            surfaceWindow = ProgramWindow;
        }
Esempio n. 3
0
        //constructor


        public GISMapPoints(SurfaceWindow1 ProgramWindow)
        {
            // TODO: Complete member initialization
            surfacewindow = ProgramWindow;
        }
 public SurGISContPanel1(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     InitializeComponent();
 }
 public SurGISContPanel1(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     InitializeComponent();
 }
 // The Constructor for all classes should receive a handle to the main program window
 public GISMapPolygon(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     // pass the program window to the GISMapPoints class
     GMPoint = new GISMapPoints(surfacewindow);
 }
 // The Constructor for all classes should receive a handle to the main program window
 public GISMapPolygon(SurfaceWindow1 ProgramWindow)
 {
     surfacewindow = ProgramWindow;
     // pass the program window to the GISMapPoints class
     GMPoint = new GISMapPoints(surfacewindow);
 }
Esempio n. 8
0
 //constructor
 public GISMapPoints(SurfaceWindow1 ProgramWindow)
 {
     // TODO: Complete member initialization
     surfacewindow = ProgramWindow;
 }