withLayerAt

open fun withLayerAt(@NonNull layer: Layer, index: Int): Style.Builder

Will add the layer when the style has loaded at a specified index.

Return

this

Parameters

layer

the layer to be added