Better docs

This commit is contained in:
Andreas Hocevar
2021-08-12 12:18:09 +02:00
parent 4526f2ef34
commit 283aed2dc9
2 changed files with 3 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ import {assign} from '../obj.js';
/**
* @typedef {Object} Style
* Translates tile data to rendered pixels.
*
* @property {Object<string, number>} [variables] Style variables. Each variable must hold a number.
* @property {import("../style/expressions.js").ExpressionValue} [color] An expression applied to color values.
* @property {import("../style/expressions.js").ExpressionValue} [brightness=0] Value used to decrease or increase

View File

@@ -74,6 +74,7 @@ import {asArray, isStringColor} from '../color.js';
* * {@link module:ol/color~Color}
*
* @typedef {Array<*>|import("../color.js").Color|string|number|boolean} ExpressionValue
* @api
*/
/**