API and agentsAPI reference
LegendOrder
array of stringor null
The manual legend arrangement: layer ids in legend order, top first. Null means automatic — the legend follows the layer panel's top-to-bottom order. A write must list exactly the map's current layer ids (no misses, no strangers, no doubles) or null to return to automatic; anything else is rejected unchanged. Layers added later enter at the top until the next manual write.
Dezfil · Apache-2.0docs from
7439201b