Replace goog.abstractMethod
This commit is contained in:
@@ -129,6 +129,7 @@ ol.source.Image.prototype.getImage = function(extent, resolution, pixelRatio, pr
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.Extent} extent Extent.
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
@@ -136,7 +137,7 @@ ol.source.Image.prototype.getImage = function(extent, resolution, pixelRatio, pr
|
||||
* @return {ol.ImageBase} Single image.
|
||||
* @protected
|
||||
*/
|
||||
ol.source.Image.prototype.getImageInternal = goog.abstractMethod;
|
||||
ol.source.Image.prototype.getImageInternal = function(extent, resolution, pixelRatio, projection) {};
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -146,9 +146,10 @@ ol.source.Source.prototype.getProjection = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @return {Array.<number>|undefined} Resolutions.
|
||||
*/
|
||||
ol.source.Source.prototype.getResolutions = goog.abstractMethod;
|
||||
ol.source.Source.prototype.getResolutions = function() {};
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -194,6 +194,7 @@ ol.source.Tile.prototype.getResolutions = function() {
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {number} z Tile coordinate z.
|
||||
* @param {number} x Tile coordinate x.
|
||||
* @param {number} y Tile coordinate y.
|
||||
@@ -201,7 +202,7 @@ ol.source.Tile.prototype.getResolutions = function() {
|
||||
* @param {ol.proj.Projection} projection Projection.
|
||||
* @return {!ol.Tile} Tile.
|
||||
*/
|
||||
ol.source.Tile.prototype.getTile = goog.abstractMethod;
|
||||
ol.source.Tile.prototype.getTile = function(z, x, y, pixelRatio, projection) {};
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user