public void accept ( PainterVisitor visitor , Object group , Bbox bounds , boolean recursive ) { // Apply position on all pan buttons: applyPosition ( ) ; // Then render them: map . getVectorContext ( ) . drawGroup ( group , this ) ; map . getVectorContext ( ) . drawImage ( this , background . getId ( ) , background . getHref ( ) , background . getBounds ( ) , ( PictureStyle ) background . getStyle ( ) ) ; north . accept ( visitor , group , bounds , recursive ) ; east . accept ( visitor , group , bounds , recursive ) ; south . accept ( visitor , group , bounds , recursive ) ; west . accept ( visitor , group , bounds , recursive ) ; }
Apply the correct positions on all panning buttons and render them .