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

Pan() public method

${WP_mapping_Map_method_pan_D_sl}
public Pan ( double offsetX, double offsetY ) : void
offsetX double ${WP_mapping_Map_method_pan_param_offsetX}
offsetY double ${WP_mapping_Map_method_pan_param_offsetY}
return void
        public void Pan(double offsetX, double offsetY)
        {
            Point2D newCenter = Point2D.Empty;
            newCenter.X = ViewBounds.Center.X + offsetX;
            newCenter.Y = ViewBounds.Center.Y + offsetY;
            this.PanTo(newCenter);
        }