Use imgSize when provided

This commit is contained in:
Andreas Hocevar
2016-03-15 11:19:57 +01:00
parent 9db16bfa94
commit 339c7c5c23
3 changed files with 22 additions and 4 deletions
+3 -1
View File
@@ -6487,7 +6487,9 @@ olx.style.IconOptions.prototype.size;
/**
* Image size in pixel. Only required if `img` is set and `src` is not.
* Image size in pixels. Only required if `img` is set and `src` is not, and for
* SVG images in Internet Explorer 11. The provided `imgSize` needs to match
* the actual size of the image.
* @type {ol.Size|undefined}
* @api
*/