Skip to main content

Layer Props

Props added to a layer: operation "mask" for a mask layer, beforeId to draw under a MapLibre layer, views to draw only in some views, or any others as JSON.

Syntax​

{ "id": "n1", "op": "layer-props", "name": "layer-props", "x": 0, "y": 0, "params": {} }

One out of it starts at "sourcePort": "layer".

Inputs​

This operator has no input ports.

Parameters​

ParameterKindDefaultChoices
layerfield
operationmenu""``, draw, mask, terrain
beforeIdstring""
viewsstring""
additionalPropscode"{}"

Outputs​

PortType
layerlayer

Details​

  • Category: Output
  • Operator: layer-props

Older projects​

Projects saved before documents used operator classes. These convert to layer-props when they open: LayerPropsOp.