Mercurial > hg > STI-GWT
changeset 6:7bf904a68ce7
- fixed xml creation bug
git-svn-id: http://dev.dariah.eu/svn/repos/eu.dariah.de/ap1/sti-gwt-dariah-geobrowser@52 f2b5be40-def6-11e0-8a09-b3c1cc336c6b
author | StefanFunk <StefanFunk@f2b5be40-def6-11e0-8a09-b3c1cc336c6b> |
---|---|
date | Fri, 20 Jul 2012 12:55:58 +0000 |
parents | 272b1b18e635 |
children | 4fb15c3e0e89 |
files | .gitignore war/Sti.html war/scripts/sti/STICore.js |
diffstat | 3 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/.gitignore Fri Jul 20 10:55:46 2012 +0000 +++ b/.gitignore Fri Jul 20 12:55:58 2012 +0000 @@ -3,3 +3,4 @@ /.settings /build /e4d.war +/trace.db
--- a/war/Sti.html Fri Jul 20 10:55:46 2012 +0000 +++ b/war/Sti.html Fri Jul 20 12:55:58 2012 +0000 @@ -10,7 +10,7 @@ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> - <title>DARIAH GeoBrowser – Spatio-Temporal Interface</title> + <title>DARIAH GeoBrowser – e4D Spatio-Temporal Interface</title> <script type="text/javascript" language="javascript" src="sti/sti.nocache.js"></script> <script src="scripts/jQuery/jquery-1.5.1.js"></script>
--- a/war/scripts/sti/STICore.js Fri Jul 20 10:55:46 2012 +0000 +++ b/war/scripts/sti/STICore.js Fri Jul 20 12:55:58 2012 +0000 @@ -535,12 +535,12 @@ } kmlString += '\t\t</Placemark>\n'; } - kmlString += '\t<Folder>\n'; - kmlString += '<kml>\n'; - //console.log("kmlstring="+kmlString); + kmlString += '\t</Folder>\n'; + kmlString += '</kml>\n'; + console.log("kmlstring="+kmlString); /* convert string to xml */ var kmlXml = $.parseXML(kmlString); - //console.log(kmlXml); + console.log(kmlXml); /* pares the converted kml data */ var status = document.getElementById("statusText"); status.innerHTML = "Parsing Data ...";