From aaf689bbecb946341f61c119559085fe1794e851 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 9 Dec 2014 09:19:15 +0100 Subject: [PATCH] Uppercase ol.format.WFS.SCHEMA_LOCATION const --- src/ol/format/wfsformat.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ol/format/wfsformat.js b/src/ol/format/wfsformat.js index cf44c73709..f007bed4a7 100644 --- a/src/ol/format/wfsformat.js +++ b/src/ol/format/wfsformat.js @@ -53,7 +53,7 @@ ol.format.WFS = function(opt_options) { * @type {string} */ this.schemaLocation_ = goog.isDef(options.schemaLocation) ? - options.schemaLocation : ol.format.WFS.schemaLocation_; + options.schemaLocation : ol.format.WFS.SCHEMA_LOCATION; goog.base(this); }; @@ -97,9 +97,8 @@ ol.format.WFS.TransactionResponse; /** * @const * @type {string} - * @private */ -ol.format.WFS.schemaLocation_ = 'http://www.opengis.net/wfs ' + +ol.format.WFS.SCHEMA_LOCATION = 'http://www.opengis.net/wfs ' + 'http://schemas.opengis.net/wfs/1.1.0/wfs.xsd';