getPaintProperty method

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

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

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

Implementation

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