The JMap layer id
The JMap attribute id
The min value
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 only features having "level" greater or equals to 2 and lower or equals to 10 for layer 4
JMap.Map.Filter.applyAttributeValueBetween(4, "level", 2, 10)
JMap.Map.Filter.applyAttributeValueBetween
Render only layer's features that has attributeId having value between start and end attributes, including equals values.
Only one attribute filter can be set for a specific layer and attributeId at the same time.