Add getSource getter in ol.source.ImageVector
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user