public Photo(System.Drawing.Image i, ScreenManager.SGISEnvelope b) { Pic = i; Bounds = new ScreenManager.SGISEnvelope(b); OgcCompliantGeometryFactory fact = new OgcCompliantGeometryFactory(); Geometry = fact.ToGeometry(b); }
public SGIS() { InitializeComponent(); // maximise window on startup ScreenManager = new ScreenManager(); photos = new List<Photo>(); Layers = new BindingList<Layer>(); // initialise projectiond to UTM 33N SRS = Proj4CSharp.Proj4CSharp.ProjectionFactoryFromName("EPSG:32633"); // UTM 33N SelectionChanged += selectionChangedHandler; mapBgColor = Color.White; AcceptButton = null; CancelButton = null; this.WindowState = FormWindowState.Maximized; }