Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media;
using GMap.NET.WindowsPresentation;
using System.Diagnostics;

namespace MKLiveView.GMapCustomMarkers
{
    public partial class CustomMarkerWPActive
    {
        //Popup Popup;
        //Label Label;
        GMapMarker Marker;
        MainWindow MainWindow;
        int _type = 0;

        public CustomMarkerWPActive(MainWindow window, GMapMarker marker, string title, int type)
        {
            this.InitializeComponent();

            this.MainWindow = window;
            this.Marker = marker;
            _type = type;
        }
        void CustomMarkerWPActive_Unloaded(object sender, RoutedEventArgs e)
        {
            Marker.Shape = null;
        }
        public int WPType
        {
            get { return _type; }
            set { _type = value; }
        }
    }
}