Redefine ol.Pixel to be Array.<number>
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
goog.provide('ol.Pixel');
|
||||
|
||||
goog.require('goog.math.Coordinate');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {goog.math.Coordinate}
|
||||
* @param {number} x X.
|
||||
* @param {number} y Y.
|
||||
* @typedef {Array.<number>}
|
||||
*/
|
||||
ol.Pixel = function(x, y) {
|
||||
goog.base(this, x, y);
|
||||
};
|
||||
goog.inherits(ol.Pixel, goog.math.Coordinate);
|
||||
ol.Pixel;
|
||||
|
||||
Reference in New Issue
Block a user