From 6f000e3155ec6bde3d83a20940b5b6ff8bd14c5f Mon Sep 17 00:00:00 2001 From: Olivier Guyot Date: Fri, 20 Dec 2019 17:13:15 +0100 Subject: [PATCH] Add missing documentation in ol/style/expressions --- src/ol/style/expressions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/style/expressions.js b/src/ol/style/expressions.js index 6527164bf2..454d80a2d5 100644 --- a/src/ol/style/expressions.js +++ b/src/ol/style/expressions.js @@ -16,6 +16,8 @@ import {asArray, isStringColor} from '../color.js'; * Note: those will be taken from the attributes provided to the renderer * * `['var', 'varName']` fetches a value from the style variables, or 0 if undefined * * `['time']` returns the time in seconds since the creation of the layer + * * `['zoom']` returns the current zoom level + * * `['resolution']` returns the current resolution * * * Math operators: * * `['*', value1, value2]` multiplies `value1` by `value2`