From 307ee09988224e6974832890070f46e940e4feb4 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Mon, 14 Jul 2014 09:20:25 +0000 Subject: [PATCH] Improve Collection docs --- src/ol/collection.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/ol/collection.js b/src/ol/collection.js index 55b5bffeb1..d4b9519542 100644 --- a/src/ol/collection.js +++ b/src/ol/collection.js @@ -66,10 +66,15 @@ ol.CollectionProperty = { /** * @classdesc - * Adds methods to standard Array; changes (add/remove) to the Collection - * trigger events. Because a Collection is itself an {@link ol.Object}, it - * can be bound to any other Object or Collection such that a change in one - * will automatically be reflected in the other. + * An expanded version of standard JS Array, adding convenience methods for + * manipulation. Add and remove changes to the Collection trigger a Collection + * event. Note that this does not cover changes to the objects _within_ the + * Collection; they trigger events on the appropriate object, not on the + * Collection as a whole. + * + * Because a Collection is itself an {@link ol.Object}, it can be bound to any + * other Object or Collection such that a change in one will automatically be + * reflected in the other. * * @constructor * @extends {ol.Object}