From ddcfe778978c53b2ca5dc5bbf518bd82ee2366c2 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 8 Dec 2014 17:28:17 +0100 Subject: [PATCH 1/2] Add missing gmlFormat to olx.format.WFSOptions --- externs/olx.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/externs/olx.js b/externs/olx.js index 7b50b3dd09..50b8b4f5b9 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1637,6 +1637,7 @@ olx.format.GPXOptions.prototype.readExtensions; /** * @typedef {{featureNS: string, * featureType: string, + * gmlFormat: (ol.format.GMLBase|undefined), * schemaLocation: (string|undefined)}} * @api */ @@ -1659,6 +1660,14 @@ olx.format.WFSOptions.prototype.featureNS; olx.format.WFSOptions.prototype.featureType; +/** + * The GML format to use to parse the response. Default is `ol.format.GML3`. + * @type {ol.format.GMLBase|undefined} + * @api + */ +olx.format.WFSOptions.prototype.gmlFormat; + + /** * Optional schemaLocation to use for serialization, this will override the * default. From a9e6b7115f0af359628efb8c97d490968f74ec89 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 8 Dec 2014 17:36:43 +0100 Subject: [PATCH 2/2] Remove gmlFormat from olx.format.WFSWriteGetFeatureOptions --- externs/olx.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 50b8b4f5b9..f82ff39c3d 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1756,12 +1756,6 @@ olx.format.WFSWriteGetFeatureOptions.prototype.maxFeatures; */ olx.format.WFSWriteGetFeatureOptions.prototype.geometryName; -/** - * GML format to use within the WFS format. - * @type {ol.format.GMLBase|undefined} - * @api - */ -olx.format.WFSWriteGetFeatureOptions.prototype.gmlFormat; /** * Extent to use for the BBOX filter.