Add getSource getter in ol.source.ImageVector

This commit is contained in:
oterral
2014-04-17 15:21:11 +02:00
parent cb1edd262d
commit a277cbf548
2 changed files with 10 additions and 0 deletions

View File

@@ -163,6 +163,15 @@ ol.source.ImageVector.prototype.forEachFeatureAtPixel =
};
/**
* @return {ol.source.Vector} Source.
* @todo stability experimental
*/
ol.source.ImageVector.prototype.getSource = function() {
return this.source_;
};
/**
* @param {ol.Coordinate} center Center.
* @param {number} resolution Resolution.