//private void MainMapImage_MouseMove(IPoint WorldPos, MouseEventArgs ImagePos) //{ // CoordinatesLabel.Text = String.Format("Coordinates: {0:N5}, {1:N5}", WorldPos.X, WorldPos.Y); //} private void AddNewRandomGeometryLayer_Click(object sender, EventArgs e) { String layerName; String connectionInfo; RandomFeatureLayerFactory.GetLayerNameAndInfo(out layerName, out connectionInfo); addLayer(_layerFactoryCatalog[RandomLayerTypeKey].Create(layerName, connectionInfo)); }
private void registerLayerFactories() { //ConfigurationManager.GetSection("LayerFactories"); _layerFactoryCatalog[ShapeFileLayerTypeKey] = new ShapeFileLayerFactory(_geometryFactory); _layerFactoryCatalog[RandomLayerTypeKey] = new RandomFeatureLayerFactory(_geometryFactory); }
private void registerLayerFactories() { //ConfigurationManager.GetSection("LayerFactories"); _layerFactoryCatalog[ShapeFileLayerTypeKey] = new ShapeFileLayerFactory(_geometryFactory); _layerFactoryCatalog[RandomLayerTypeKey] = new RandomFeatureLayerFactory(_geometryFactory); }