New typedef syntax for Coordinate
This commit is contained in:
@@ -177,13 +177,6 @@ ol.ColorLike;
|
|||||||
ol.Constraints;
|
ol.Constraints;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An array of numbers representing an xy coordinate. Example: `[16, 48]`.
|
|
||||||
* @typedef {Array.<number>}
|
|
||||||
*/
|
|
||||||
ol.Coordinate;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A function that takes a {@link ol.Coordinate} and transforms it into a
|
* A function that takes a {@link ol.Coordinate} and transforms it into a
|
||||||
* `{string}`.
|
* `{string}`.
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* @module ol/types
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An array of numbers representing an xy coordinate. Example: `[16, 48]`.
|
||||||
|
* @typedef {Array.<number>} Coordinate
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
|
||||||
Reference in New Issue
Block a user