Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestDynamic"/> class.
 /// </summary>
 /// <param name="milsymFactory">
 /// The instance of the map factory.
 /// </param>
 /// <param name="ml">
 /// The symbology layer.
 /// </param>
 /// <param name="pl">
 /// The polygon/polyline layer.
 /// </param>
 public TestDynamic(IMilSymFactory milsymFactory, IMilSymLayer ml, IPolyLayer pl)
 {
     this.timer         = new DispatcherTimer();
     this.milsymFactory = milsymFactory;
     this.milsymLayer   = ml;
     this.polyLayer     = pl;
 }
Exemple #2
0
 public MainPage()
 {
     this.InitializeComponent();
     this.DataContext         = this.ViewModel;
     MilGraphic.MilSymFactory = this.milsymFactory = new FischerMilSymFactory();
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindow"/> class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     MilGraphic.MilSymFactory = this.milsymFactory = new EsriMilSymFactory();
 }
Exemple #4
0
 public MainPage()
 {
     this.InitializeComponent();
     MilGraphic.MilSymFactory = this.milsymFactory = new BingMilSymFactory();
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestMapDrawing"/> class.
 /// </summary>
 /// <param name="milsymFactory">
 /// The instance of the map factory.
 /// </param>
 /// <param name="ml">
 /// The symbology layer.
 /// </param>
 /// <param name="pl">
 /// The polygon/polyline layer.
 /// </param>
 public TestMapDrawing(IMilSymFactory milsymFactory, IMilSymLayer ml, IPolyLayer pl)
 {
     this.milsymFactory = milsymFactory;
     this.milsymLayer   = ml;
     this.polyLayer     = pl;
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainScreen"/> class.
 /// </summary>
 public MainScreen()
 {
     InitializeComponent();
     MilGraphic.MilSymFactory = this.milsymFactory = new BingMilSymFactory();
 }