getLayer

Get the layer by id

Return

the layer, if present in the style

Parameters

id

the layer's id