New typedef syntax for Coordinate
This commit is contained in:
@@ -177,13 +177,6 @@ ol.ColorLike;
|
||||
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
|
||||
* `{string}`.
|
||||
|
||||
11
src/ol/types.js
Normal file
11
src/ol/types.js
Normal file
@@ -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