(v)
| 793 | const field = fieldRules[value[0]] && fieldRules[value[0]](compiledExpression); |
| 794 | const newFunc = compiledExpression.value.evaluate.bind(compiledExpression.value); |
| 795 | const callback = (v) => { |
| 796 | const f = { |
| 797 | properties: { [field]: v }, |
| 798 | type: 'point' |
| 799 | }; |
| 800 | const result = newFunc({ zoom: map.getZoom() }, f); |
| 801 | return property === 'shape' ? result.toString() : multiple ? result * multiple : result; |
| 802 | }; |
| 803 | return { |
| 804 | field, |
| 805 | values: callback |
no test coverage detected