SuperMap.WindowsPhone.Mapping.Map.OnDoubleTap C# (CSharp) Method

OnDoubleTap() protected method

protected OnDoubleTap ( GestureEventArgs e ) : void
e GestureEventArgs
return void
        protected override void OnDoubleTap(GestureEventArgs e)
        {
            if (IsDoubleTap == true)
            {
                base.OnDoubleTap(e);
                //if (this.Action != null)
                //{
                //    this.Action.OnDoubleTap(e);
                //}
                Point2D center = ScreenToMap(e.GetPosition(this));
                ZoomToResolution(GetNextResolution(true), center);
            }
        }