public boolean isPannableFrom ( MapViewState other ) { return Math . abs ( scale - other . getScale ( ) ) < EQUAL_CHECK_DELTA && Math . abs ( getPanX ( ) - other . getPanX ( ) ) < EQUAL_CHECK_DELTA && Math . abs ( getPanY ( ) - other . getPanY ( ) ) < EQUAL_CHECK_DELTA ; }
Can this view state be reached by panning from another view state ?