public void execute ( Bbox worldBounds ) { View endView = mapPresenter . getViewPort ( ) . asView ( worldBounds , ZoomOption . LEVEL_CLOSEST ) ; mapPresenter . getViewPort ( ) . registerAnimation ( NavigationAnimationFactory . createZoomIn ( mapPresenter , endView ) ) ; }
Effectively zoom to the bounds that the user drew on the map .