diff --git a/src/ol/layer/vectorlayer.js b/src/ol/layer/vectorlayer.js index 5eb7aee294..2a8f5ff163 100644 --- a/src/ol/layer/vectorlayer.js +++ b/src/ol/layer/vectorlayer.js @@ -67,6 +67,14 @@ ol.layer.Vector.prototype.getRenderOrder = function() { }; +/** + * @function + * @return {ol.source.Vector} Source. + * @api stable + */ +ol.layer.Vector.prototype.getSource; + + /** * Get the style for features. This returns whatever was passed to the `style` * option at construction or to the `setStyle` method.