From a56d9bbb518bd06436e0cbca0d234ba072894a71 Mon Sep 17 00:00:00 2001 From: Benjamin Gerber Date: Wed, 11 Nov 2020 13:06:16 +0100 Subject: [PATCH] Better doc for WFS writeGetFeature options. The geometryName option is required if you set the bbox option. --- src/ol/format/WFS.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/format/WFS.js b/src/ol/format/WFS.js index aadbe7ec68..99b326ebd8 100644 --- a/src/ol/format/WFS.js +++ b/src/ol/format/WFS.js @@ -143,7 +143,8 @@ const TRANSACTION_SERIALIZERS = { * @property {number} [count] Number of features to retrieve when paging. This is a * WFS 2.0 feature backported to WFS 1.1.0 by some Web Feature Services. Please note that some * Web Feature Services have repurposed `maxfeatures` instead. - * @property {import("../extent.js").Extent} [bbox] Extent to use for the BBOX filter. + * @property {import("../extent.js").Extent} [bbox] Extent to use for the BBOX filter. The `geometryName` + * option must be set. * @property {import("./filter/Filter.js").default} [filter] Filter condition. See * {@link module:ol/format/Filter} for more information. * @property {string} [resultType] Indicates what response should be returned,