diff --git a/src/ol/style/circlestyle.js b/src/ol/style/circlestyle.js index 7f9c268541..0d209ba876 100644 --- a/src/ol/style/circlestyle.js +++ b/src/ol/style/circlestyle.js @@ -120,7 +120,8 @@ ol.style.Circle.prototype.getHitDetectionImage = function(pixelRatio) { /** - * @inheritDoc + * @param {number} pixelRatio Pixel ratio. + * @return {HTMLCanvasElement} Canvas element. * @api */ ol.style.Circle.prototype.getImage = function(pixelRatio) { diff --git a/src/ol/style/iconstyle.js b/src/ol/style/iconstyle.js index e7f20f2120..c82881420a 100644 --- a/src/ol/style/iconstyle.js +++ b/src/ol/style/iconstyle.js @@ -228,7 +228,8 @@ ol.style.Icon.prototype.getAnchor = function() { /** - * @inheritDoc + * @param {number} pixelRatio Pixel ratio. + * @return {Image} Image element. * @api */ ol.style.Icon.prototype.getImage = function(pixelRatio) { diff --git a/src/ol/style/imagestyle.js b/src/ol/style/imagestyle.js index 2f57b34337..35c3a3ac16 100644 --- a/src/ol/style/imagestyle.js +++ b/src/ol/style/imagestyle.js @@ -26,10 +26,12 @@ ol.style.ImageOptions; /** * @classdesc - * Set image style for vector features. + * Abstract base class; used for creating subclasses and not instantiated in + * apps. Base class for {@link ol.style.Icon} and {@link ol.style.Circle}. * * @constructor * @param {ol.style.ImageOptions} options Options. + * @api */ ol.style.Image = function(options) { @@ -119,6 +121,7 @@ ol.style.Image.prototype.getAnchor = goog.abstractMethod; * @function * @param {number} pixelRatio Pixel ratio. * @return {HTMLCanvasElement|HTMLVideoElement|Image} Image element. + * @api */ ol.style.Image.prototype.getImage = goog.abstractMethod;