From 4c0bfd89058f747b7d00e3e81bf93a5936eb31fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 29 Sep 2014 16:29:40 +0200 Subject: [PATCH] More restrictive type for ol.style.Icon#getImage --- src/ol/style/iconstyle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {