Add getters to ol.style.Icon

This commit is contained in:
Éric Lemoine
2013-12-19 11:43:56 +01:00
parent 16047ff852
commit e4f2a7552e
2 changed files with 14 additions and 5 deletions
+8
View File
@@ -174,6 +174,14 @@ ol.style.Icon.prototype.getHitDetectionImage = function(pixelRatio) {
};
/**
* @return {string|undefined} Image src.
*/
ol.style.Icon.prototype.getSrc = function() {
return this.src_;
};
/**
* Load not yet loaded URI.
*/