From 59910339cd370983bf27d92a389a2510a66533be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 19 Dec 2013 09:08:30 +0100 Subject: [PATCH] Add ol.style.Circle#getHitDetectionImage --- src/ol/style/circlestyle.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ol/style/circlestyle.js b/src/ol/style/circlestyle.js index 32dc8c2fc2..9f5147a02b 100644 --- a/src/ol/style/circlestyle.js +++ b/src/ol/style/circlestyle.js @@ -69,6 +69,14 @@ ol.style.Circle.prototype.getImage = function(pixelRatio) { }; +/** + * @inheritDoc + */ +ol.style.Circle.prototype.getHitDetectionImage = function(pixelRatio) { + return this.canvas_; +}; + + /** * @inheritDoc */