diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index 6631096902..47630acd77 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -16,7 +16,8 @@ * passed `layers` array or in the layer collection as returned from * `ol.Map#getLayers()` if no `layers` were provided. * @property {function(Object)|undefined} error Callback for unsuccessful - * queries. + * queries. Note that queries with no matching features trigger the success + * callback, not the error callback. */ /** @@ -30,7 +31,8 @@ * array or in the layer collection as returned from `ol.Map#getLayers()` if * no layers were provided. * @property {function(Object)|undefined} error Callback for unsuccessful - * queries. + * queries. Note that queries with no matching features trigger the success + * callback, not the error callback. */ /** @@ -302,9 +304,9 @@ /** * @typedef {Object} ol.layer.VectorLayerOptions * @property {function(Array.