diff --git a/src/ol/style/regularshape.js b/src/ol/style/regularshape.js index e84815c68e..0303dc86a4 100644 --- a/src/ol/style/regularshape.js +++ b/src/ol/style/regularshape.js @@ -293,19 +293,19 @@ ol.style.RegularShape.prototype.getStroke = function() { /** * @inheritDoc */ -ol.style.RegularShape.prototype.listenImageChange = ol.nullFunction; +ol.style.RegularShape.prototype.listenImageChange = function(listener, thisArg) {}; /** * @inheritDoc */ -ol.style.RegularShape.prototype.load = ol.nullFunction; +ol.style.RegularShape.prototype.load = function() {}; /** * @inheritDoc */ -ol.style.RegularShape.prototype.unlistenImageChange = ol.nullFunction; +ol.style.RegularShape.prototype.unlistenImageChange = function(listener, thisArg) {}; /**