From ebcc6ab509344d1a7b9c46e391c4833c1bfdb82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 19 Dec 2013 09:08:04 +0100 Subject: [PATCH] Add ol.style.Image#getHitDetectionImage abstract method --- src/ol/style/imagestyle.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ol/style/imagestyle.js b/src/ol/style/imagestyle.js index 3c36309c3a..9a566bcfe4 100644 --- a/src/ol/style/imagestyle.js +++ b/src/ol/style/imagestyle.js @@ -88,6 +88,13 @@ ol.style.Image.prototype.dispatchChangeEvent = function() { ol.style.Image.prototype.getImage = goog.abstractMethod; +/** + * @param {number} pixelRatio Pixel ratio. + * @return {HTMLCanvasElement|HTMLVideoElement|Image} Image element. + */ +ol.style.Image.prototype.getHitDetectionImage = goog.abstractMethod; + + /** * Load not yet loaded URI. */