2024-12-22 20:44:31 -06:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Ireland 2024</title>
|
|
|
|
<style>
|
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mapdiv {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
</style>
|
2024-12-22 22:35:28 -06:00
|
|
|
<link rel="stylesheet" href="dist/css/storymap.css">
|
2024-12-22 20:44:31 -06:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="mapdiv"></div>
|
2024-12-22 22:35:28 -06:00
|
|
|
<script type="text/javascript" src="dist/js/storymap.js"></script>
|
2024-12-22 20:44:31 -06:00
|
|
|
<script>
|
|
|
|
const storymap_options = {};
|
|
|
|
const storymap = new KLStoryMap.StoryMap('mapdiv', 'data.json', storymap_options);
|
|
|
|
window.onresize = function(event) {
|
|
|
|
storymap.updateDisplay(); // this isn't automatic
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|