question: protected void checkLimits ( boolean checkScale ) { if ( limitAnchorPoint != null ) { centerX = limitAnchorPoint . getX ( ) ; centerY = limitAnchorPoint . getY ( ) ; } Point2D p2 = checkUpperLimits ( ) ; if ( p2 != null ) { centerX = p2 . getX ( ) ; centerY = p2 . getY ( ) ; } Point2D p1 = checkLowerLimits ( ) ; if ( p1 != null ) { centerX = p1 . getX ( ) ; centerY = p1 . getY ( ) ; } if ( checkScale && p1 != null && p2 != null ) { double newScale = checkScaleAgainstLimits ( ) ; if ( newScale != scale ) { scale = newScale ; SFScale = scaleFactor / scale ; checkLimits ( false ) ; } } }
target:  Should only be called if you've checked there are limits set on the projection.