Ejemplo n.º 1
0
        private void MapZelMouseMove(object sender, MouseEventArgs e)
        {
            e.Handled = true;

            Point    mousePosition = e.GetPosition(this);
            Location pinLocation   = MapTat.ViewportPointToLocation(mousePosition);
        }
Ejemplo n.º 2
0
        private void MapZelMouseUp(object sender, MouseButtonEventArgs e)
        {
            e.Handled = true;

            Point    mousePosition = e.GetPosition(this);
            Location pinLocation   = MapTat.ViewportPointToLocation(mousePosition);

            MapTat.Center = pinLocation;
        }