@ Api public Layer < ? > getLayer ( String layerId ) { if ( layers != null ) { for ( Layer < ? > layer : layers ) { if ( layer . getId ( ) . equals ( layerId ) ) { return layer ; } } } return null ; }
Search a layer by it s id .