getFilter method

List getFilter(
  1. String layerId
)

Returns the filter applied to the specified style layer.

@param {string} layerId The ID of the style layer whose filter to get. @returns {Array} The layer's filter.

Implementation

List<dynamic> getFilter(String layerId) => jsObject.getFilter(layerId);