Add ol.style.Icon#getImageSize

This commit is contained in:
Éric Lemoine
2014-06-25 12:16:22 +02:00
parent bd3da0eed9
commit 8dc9618adb

View File

@@ -232,6 +232,15 @@ ol.style.Icon.prototype.getImage = function(pixelRatio) {
};
/**
* Real Image size used.
* @return {ol.Size} Size.
*/
ol.style.Icon.prototype.getImageSize = function() {
return this.iconImage_.getSize();
};
/**
* @inheritDoc
*/