private Map_MapGesture ( object sender, ESRI e ) : void | ||
sender | object | |
e | ESRI | |
return | void |
private void Map_MapGesture(object sender, ESRI.ArcGIS.Client.Map.MapGestureEventArgs e)
{
if (e.Gesture == GestureType.Tap)
{
_tapPoint = e.MapPoint;
_dispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 350);
_dispatcherTimer.Tick -= dispatcherTimer_Tick;
_dispatcherTimer.Tick += dispatcherTimer_Tick;
_dispatcherTimer.Start();
}
else if (e.Gesture == GestureType.DoubleTap)
{
_dispatcherTimer.Stop();
}
}