More restrictive type for ol.style.Icon#getImage

This commit is contained in:
Éric Lemoine
2014-09-29 16:29:40 +02:00
parent c7ac9502bd
commit 4c0bfd8905

View File

@@ -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) {