Add ol.style.Icon#getImageSize
This commit is contained in:
1 parent
bd3da0eed9
commit
8dc9618adb
1 file changed
+9
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user