protected boolean onBusLineAdded ( BusLine line , int index ) { if ( this . autoUpdate . get ( ) ) { try { addMapLayer ( index , new BusLineLayer ( line , isLayerAutoUpdated ( ) ) ) ; return true ; } catch ( Throwable exception ) { // } } return false ; }
Invoked when a bus line was added in the attached network .