Add missing documentation in ol/style/expressions
This commit is contained in:
@@ -16,6 +16,8 @@ import {asArray, isStringColor} from '../color.js';
|
|||||||
* Note: those will be taken from the attributes provided to the renderer
|
* 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
|
* * `['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
|
* * `['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:
|
* * Math operators:
|
||||||
* * `['*', value1, value2]` multiplies `value1` by `value2`
|
* * `['*', value1, value2]` multiplies `value1` by `value2`
|
||||||
|
|||||||
Reference in New Issue
Block a user