public SimplifyWizardShareObject() { converter = new DistanceUnitToStringConverter(); InitSelectableFeatureLayers(); InitDistance(); OnlySimplifySelectedFeatures = true; AddToMap = true; }
public BufferWizardShareObject() : base() { tempShpFilePath = Path.Combine(GisEditor.InfrastructureManager.TemporaryPath, "BufferTaskTemp.shp"); InitSelectableFeatureLayers(); smoothnessValues = new int[] { 3, 4, 5, 6, 7, 8, 9, 10 }; var converter = new DistanceUnitToStringConverter(); distanceUnits = new ObservableCollection <string>(Enum.GetValues(typeof(DistanceUnit)).Cast <object>().Select(value => (string)converter.Convert(value, null, null, null))); OnlyBufferSelectedFeatures = true; AddToMap = true; Distance = 20; Smoothness = 8; CapStyle = BufferCapType.Round; SelectedDistanceUnit = DistanceUnit.Meter; }