From 09ad7b51d57746dfabbb96092ee34174c9901419 Mon Sep 17 00:00:00 2001 From: KevinWhalen Date: Wed, 20 Aug 2014 18:05:30 -0400 Subject: [PATCH] Update setFeatureType The requests from this protocol seem to use all three of the listed feature types, but setFeatureType was updating two of them from the given typeName. --- lib/OpenLayers/Protocol/WFS/v1.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Protocol/WFS/v1.js b/lib/OpenLayers/Protocol/WFS/v1.js index 8a21d7e189..c5111959f0 100644 --- a/lib/OpenLayers/Protocol/WFS/v1.js +++ b/lib/OpenLayers/Protocol/WFS/v1.js @@ -222,6 +222,7 @@ OpenLayers.Protocol.WFS.v1 = OpenLayers.Class(OpenLayers.Protocol, { setFeatureType: function(featureType) { this.featureType = featureType; this.format.featureType = featureType; + this.options.featureType = featureType; }, /**