From 46a10135d92462e24ea6ae61a2e399334090b63c Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 15 Jul 2011 14:07:39 +0000 Subject: [PATCH] reassign writers instead of creating a different geometry instance. r=bartvde (closes #3407) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12171 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/GML/Base.js | 15 ++++++++----- lib/OpenLayers/Format/GML/v3.js | 10 +++++---- lib/OpenLayers/Format/WFST/v1.js | 37 ++++++++++++++++--------------- tests/Format/WFST/v1.html | 4 +++- 4 files changed, 37 insertions(+), 29 deletions(-) diff --git a/lib/OpenLayers/Format/GML/Base.js b/lib/OpenLayers/Format/GML/Base.js index 3ec078f8a8..cee7a47ea9 100644 --- a/lib/OpenLayers/Format/GML/Base.js +++ b/lib/OpenLayers/Format/GML/Base.js @@ -502,8 +502,9 @@ OpenLayers.Format.GML.Base = OpenLayers.Class(OpenLayers.Format.XML, { }, "MultiPoint": function(geometry) { var node = this.createElementNSPlus("gml:MultiPoint"); - for(var i=0; i