getLayoutProperty method

dynamic getLayoutProperty(
  1. String layerId,
  2. String name
)

Returns the value of a layout property in the specified style layer.

@param {string} layerId The ID of the layer to get the layout property from. @param {string} name The name of the layout property to get. @returns {*} The value of the specified layout property.

Implementation

dynamic getLayoutProperty(String layerId, String name) =>
    jsObject.getLayoutProperty(layerId, name);