private void zoomAbout(double factor, Point2D center, bool skipAnimation) { if (!double.IsNaN(factor) && factor > 0) { if (Point2D.IsNullOrEmpty(center)) { return; } this.ZoomToResolution(this.mapResolution / factor, center, skipAnimation); } }