diff --git a/src/ol/interaction/snapinteraction.js b/src/ol/interaction/snapinteraction.js index 576fcfc5f5..dc93a1b437 100644 --- a/src/ol/interaction/snapinteraction.js +++ b/src/ol/interaction/snapinteraction.js @@ -152,6 +152,7 @@ goog.inherits(ol.interaction.Snap, ol.interaction.Pointer); /** + * Add a feature to the collection of features that we may snap to. * @param {ol.Feature} feature Feature. * @param {boolean=} opt_listen Whether to listen to the geometry change or not * Defaults to `true`. @@ -278,6 +279,7 @@ ol.interaction.Snap.prototype.handleGeometryModify_ = function(feature, evt) { /** + * Remove a feature from the collection of features that we may snap to. * @param {ol.Feature} feature Feature * @param {boolean=} opt_unlisten Whether to unlisten to the geometry change * or not. Defaults to `true`.