From 16670e40157309386c8274a1583014e682de3f73 Mon Sep 17 00:00:00 2001 From: jonataswalker Date: Tue, 3 Nov 2015 14:35:17 -0200 Subject: [PATCH] Improve ol.interaction.Select#getLayer documentation. --- src/ol/interaction/selectinteraction.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ol/interaction/selectinteraction.js b/src/ol/interaction/selectinteraction.js index 82cb617c20..a5a0ec93a3 100644 --- a/src/ol/interaction/selectinteraction.js +++ b/src/ol/interaction/selectinteraction.js @@ -235,7 +235,9 @@ ol.interaction.Select.prototype.getFeatures = function() { /** * Returns the associated {@link ol.layer.Vector vectorlayer} of - * the (last) selected feature. + * the (last) selected feature. Note that this will not work with any + * programmatic method like pushing features to + * {@link ol.interaction.Select#getFeatures collection}. * @param {ol.Feature|ol.render.Feature} feature Feature * @return {ol.layer.Vector} Layer. * @api