Add getSource getter in ol.source.ImageVector
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
@exportSymbol ol.source.ImageVector
|
@exportSymbol ol.source.ImageVector
|
||||||
|
@exportProperty ol.source.ImageVector.prototype.getSource
|
||||||
|
|||||||
@@ -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 {ol.Coordinate} center Center.
|
||||||
* @param {number} resolution Resolution.
|
* @param {number} resolution Resolution.
|
||||||
|
|||||||
Reference in New Issue
Block a user