withLayers

Will add the layers when the style has loaded.

Return

this

Parameters

layers

the layers to be added