properties

Gets the feature properties object.

Note that in some cases, it may be more efficient to use get} instead.

Example usage:


SymbolLayer symbolLayer = new SymbolLayer("layer-id", "source-id");
symbolLayer.setProperties(
    textField(get("key-to-value", properties()))
);

Return

expression

See also

<a href="https://maplibre.org/maplibre-style-spec/expressions/#properties">Style specification</a>