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)); } }
private void SelectPointOnMap() { PointOnMapMessage.Send(this); }