The JMap layer id
The JMap attribute id
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 hide features having attribute "name" for layer 4
JMap.Map.Filter.applyHasNotAttribute(4, "name")
JMap.Map.Filter.applyHasNotAttribute
Render only layer's features that hasn't the attribute defined in their properties. If the property is defined but value is undefined, the feature will not be rendered.
Only one attribute filter can be set for a specific layer and attributeId at the same time.