Ejemplo n.º 1
0
        private void Map_Hold(object sender, System.Windows.Input.GestureEventArgs e)
        {
            GeoCoordinate location;
            bool          canConvert = (sender as Map).TryViewportPointToLocation(e.GetPosition(sender as Map), out location);

            VibrateController.Default.Start(TimeSpan.FromMilliseconds(250));

            if (canConvert)
            {
                PointOnMapMessage.Send(Coordinate.FromGeoCoordinate(location));
            }
        }
Ejemplo n.º 2
0
 private void SelectPointOnMap()
 {
     PointOnMapMessage.Send(this);
 }