Implement getImageSize in ol.style.Circle and RegularShape

This commit is contained in:
Éric Lemoine
2014-11-06 09:35:47 +01:00
parent 9029c0fdad
commit 64a7cdf372
4 changed files with 22 additions and 1 deletions
+6
View File
@@ -132,6 +132,12 @@ ol.style.Image.prototype.getImage = goog.abstractMethod;
ol.style.Image.prototype.getImageState = goog.abstractMethod;
/**
* @return {ol.Size} Image size.
*/
ol.style.Image.prototype.getImageSize = goog.abstractMethod;
/**
* @param {number} pixelRatio Pixel ratio.
* @return {HTMLCanvasElement|HTMLVideoElement|Image} Image element.