Use Array<Foo> instead of Array.<Foo>
This commit is contained in:
@@ -69,7 +69,7 @@ class EPSG3857Projection extends Projection {
|
||||
* Projections equal to EPSG:3857.
|
||||
*
|
||||
* @const
|
||||
* @type {Array.<module:ol/proj/Projection>}
|
||||
* @type {Array<module:ol/proj/Projection>}
|
||||
*/
|
||||
export const PROJECTIONS = [
|
||||
new EPSG3857Projection('EPSG:3857'),
|
||||
@@ -85,10 +85,10 @@ export const PROJECTIONS = [
|
||||
/**
|
||||
* Transformation from EPSG:4326 to EPSG:3857.
|
||||
*
|
||||
* @param {Array.<number>} input Input array of coordinate values.
|
||||
* @param {Array.<number>=} opt_output Output array of coordinate values.
|
||||
* @param {Array<number>} input Input array of coordinate values.
|
||||
* @param {Array<number>=} opt_output Output array of coordinate values.
|
||||
* @param {number=} opt_dimension Dimension (default is `2`).
|
||||
* @return {Array.<number>} Output array of coordinate values.
|
||||
* @return {Array<number>} Output array of coordinate values.
|
||||
*/
|
||||
export function fromEPSG4326(input, opt_output, opt_dimension) {
|
||||
const length = input.length;
|
||||
@@ -121,10 +121,10 @@ export function fromEPSG4326(input, opt_output, opt_dimension) {
|
||||
/**
|
||||
* Transformation from EPSG:3857 to EPSG:4326.
|
||||
*
|
||||
* @param {Array.<number>} input Input array of coordinate values.
|
||||
* @param {Array.<number>=} opt_output Output array of coordinate values.
|
||||
* @param {Array<number>} input Input array of coordinate values.
|
||||
* @param {Array<number>=} opt_output Output array of coordinate values.
|
||||
* @param {number=} opt_dimension Dimension (default is `2`).
|
||||
* @return {Array.<number>} Output array of coordinate values.
|
||||
* @return {Array<number>} Output array of coordinate values.
|
||||
*/
|
||||
export function toEPSG4326(input, opt_output, opt_dimension) {
|
||||
const length = input.length;
|
||||
|
||||
@@ -64,7 +64,7 @@ class EPSG4326Projection extends Projection {
|
||||
* Projections equal to EPSG:4326.
|
||||
*
|
||||
* @const
|
||||
* @type {Array.<module:ol/proj/Projection>}
|
||||
* @type {Array<module:ol/proj/Projection>}
|
||||
*/
|
||||
export const PROJECTIONS = [
|
||||
new EPSG4326Projection('CRS:84'),
|
||||
|
||||
Reference in New Issue
Block a user