moveLayer

open fun moveLayer(id: String, beforeId: String?)

Reorders an existing layer in the host map style.

Parameters

id

Layer to move.

beforeId

Layer id to insert before, or null to move to the top.