New typedef syntax for TransformFunction
This commit is contained in:
@@ -646,17 +646,6 @@ ol.TileReplayState;
|
|||||||
ol.TileUrlFunctionType;
|
ol.TileUrlFunctionType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A transform function accepts an array of input coordinate values, an optional
|
|
||||||
* output array, and an optional dimension (default should be 2). The function
|
|
||||||
* transforms the input coordinate values, populates the output array, and
|
|
||||||
* returns the output array.
|
|
||||||
*
|
|
||||||
* @typedef {function(Array.<number>, Array.<number>=, number=): Array.<number>}
|
|
||||||
*/
|
|
||||||
ol.TransformFunction;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An animation configuration
|
* An animation configuration
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -57,3 +57,12 @@
|
|||||||
* @typedef {!Array.<number>} Transform
|
* @typedef {!Array.<number>} Transform
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A transform function accepts an array of input coordinate values, an optional
|
||||||
|
* output array, and an optional dimension (default should be 2). The function
|
||||||
|
* transforms the input coordinate values, populates the output array, and
|
||||||
|
* returns the output array.
|
||||||
|
*
|
||||||
|
* @typedef {function(Array.<number>, Array.<number>=, number=): Array.<number>} TransformFunction
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user