Beispiel #1
0
        static void ShowSpecifyForm()
        {
            var mockOSMs = OSMPrimaryTypes.GetTreeCollection();

            // Note that this only works on Windows; for macOS seems to crash unless using Eto 2.5.11+.
            new Application(Eto.Platforms.Wpf).Run(new SpecifyFeaturesForm(mockOSMs, HideObscure));
        }
 public PickFeaturesComponent() : base("Specify Features", "OSM Specify",
                                       "Provides a graphical interface to specify a list of OSM features that the Extract components will then find.", "Pick")
 {
     this.selectableOSMs = OSMPrimaryTypes.GetTreeCollection(); // Setup form-items for tags provided and parsed into OSM/Form objects
 }