Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2345 | - | 1 | using System.Windows; |
2 | using System.Windows.Controls; |
||
3 | using System.Windows.Controls.Primitives; |
||
4 | using System.Windows.Input; |
||
5 | using System.Windows.Media; |
||
6 | using GMap.NET.WindowsPresentation; |
||
7 | using System.Diagnostics; |
||
8 | |||
9 | namespace MKLiveView.GMapCustomMarkers |
||
10 | { |
||
11 | public partial class CustomMarkerWPActive |
||
12 | { |
||
13 | //Popup Popup; |
||
14 | //Label Label; |
||
15 | GMapMarker Marker; |
||
16 | MainWindow MainWindow; |
||
17 | int _type = 0; |
||
18 | |||
19 | public CustomMarkerWPActive(MainWindow window, GMapMarker marker, string title, int type) |
||
20 | { |
||
21 | this.InitializeComponent(); |
||
22 | |||
23 | this.MainWindow = window; |
||
24 | this.Marker = marker; |
||
25 | _type = type; |
||
26 | } |
||
27 | void CustomMarkerWPActive_Unloaded(object sender, RoutedEventArgs e) |
||
28 | { |
||
29 | Marker.Shape = null; |
||
30 | } |
||
31 | public int WPType |
||
32 | { |
||
33 | get { return _type; } |
||
34 | set { _type = value; } |
||
35 | } |
||
36 | } |
||
37 | } |