Skip to content

Commit

Permalink
revert loader.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Kruse committed Jun 24, 2014
1 parent a0065ea commit 0438687
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,32 +110,20 @@
var storytellingDiv = document.getElementById("storytellingContainerDiv");
var storytelling = new WidgetWrapper();
var storytellingWidget = new StorytellingWidget(storytelling,storytellingDiv);

var lineOverlay = new WidgetWrapper();
var lineOverlayWidget = new LineOverlayWidget(lineOverlay);
lineOverlayWidget.attachMapWidget(mapWidget);

/*
var kml1 = GeoTemConfig.getKml('data/heine.kml');
datasets.push(new Dataset(GeoTemConfig.loadKml(kml1),'Heinrich Heine'));
var kml2 = GeoTemConfig.getKml('data/kafka.kml');
datasets.push(new Dataset(GeoTemConfig.loadKml(kml2),'Franz Kafka'));
var kml3 = GeoTemConfig.getKml('data/goethe.kml');
datasets.push(new Dataset(GeoTemConfig.loadKml(kml3),'Johann Wolfgang von Goethe'));
*/
var csv = GeoTemConfig.getCsv('data/MPI_test.csv', function(json){
datasets.push(new Dataset(GeoTemConfig.loadJson(json),'KWG/MPG'));

map.display(datasets);
time.display(datasets);
table.display(datasets);
//piechart.display(datasets);
storytelling.display(datasets);
lineOverlay.display(datasets);
lineOverlayWidget.matchColumns(0,"number",0,"parent");

dataloaderWidget.loadFromURL();
});

map.display(datasets);
time.display(datasets);
table.display(datasets);
piechart.display(datasets);
storytelling.display(datasets);

dataloaderWidget.loadFromURL();
</script>

</body>
Expand Down

0 comments on commit 0438687

Please sign in to comment.