From 596ac680daa0a9e8b79ff6968649842f0c0c12ef Mon Sep 17 00:00:00 2001 From: tschaub Date: Tue, 23 Oct 2012 14:15:22 -0600 Subject: [PATCH] Use correct track attribute Previously, the last track attribute name would be used as the feature attribute name. For tracks with multiple attributes, this doesn't work. --- lib/OpenLayers/Format/KML.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Format/KML.js b/lib/OpenLayers/Format/KML.js index 3d3f6f921c..86dfbb726c 100644 --- a/lib/OpenLayers/Format/KML.js +++ b/lib/OpenLayers/Format/KML.js @@ -731,7 +731,8 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, { } if (this.trackAttributes) { for (var j=0, jj=this.trackAttributes.length; j