Exemplo n.º 1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var loc   = (Location)value;
            var point = MapDatabase.GetMarkerPosition(loc);

            Console.WriteLine("{0},{1}", point.X, point.Y);
            return(new Thickness(point.Y, point.X, 0, 0));
        }