private void fireEvent ( boolean resized , ZoomOption option ) { if ( width > 0 ) { // keep old semantics of sameScaleLevel for api compatibility ! boolean sameScale = lastViewState != null && viewState . isPannableFrom ( lastViewState ) ; handlerManager . fireEvent ( new MapViewChangedEvent ( getBounds ( ) , getCurrentScale ( ) , sameScale , viewState . isPanDragging ( ) , resized , option ) ) ; } }
Fire an event .