The JMap layer id
The JMap attribute id
The attribute values to match
The filter id. By example for layer 4 and attribute 'on_off' => "attribute-4-on_off"
Error if layer or attribute is not found
// Will render features having "level" not equals to 4 or 5, for layer 4
JMap.Map.Filter.applyAttributeValueNotIn(4, "level", [ 4, 5 ])
JMap.Map.Filter.applyAttributeValueNotIn
Render only layer's features that has attributeId having value not matching any values in attributeValues.
Only one attribute filter can be set for a specific layer and attributeId at the same time.