-
Notifications
You must be signed in to change notification settings - Fork 51
/
index.html
140 lines (117 loc) · 5.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta name='theme-color' content='#b5e2c1'>
<meta name='description' content='Hiking trails Swiss National Park'>
<meta name='author' content='Raluca Nicola, ESRI'>
<link rel="apple-touch-icon" sizes="57x57" href="./src/img/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="./src/img/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="./src/img/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="./src/img/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="./src/img/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="./src/img/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="./src/img/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="./src/img/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="./src/img/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="./src/img/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="./src/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./src/img/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="./src/img/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name='apple-mobile-web-app-title' content='Hiking trails'>
<meta name='mobile-web-app-capable' content='yes'>
<meta name='apple-mobile-web-app-status-bar-style' content='#b5e2c1'>
<script type="module" src="https://js.arcgis.com/calcite-components/2.12.2/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="https://js.arcgis.com/calcite-components/2.12.2/calcite.css" />
<title>Hiking trails</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet'>
<script type='module' src='./src/ts/main.ts'></script>
</head>
<body>
<div id='scenePanel'></div>
<div class='menuPanel'>
<h1 class='section title'>Hiking trails Swiss National Park</h1>
<ul class='menuTabs section'>
<li class='active' data-tab='selectionPanel'>Hikes</li>
<li data-tab='detailPanel'>Details</li>
<li data-tab='basemapPanel'>Basemap</li>
</ul>
<div id='selectionPanel' class='panel invisible'>
<div id='trailsPanel'></div>
<button aria-label='Remove trail button' class='removeSelected' disabled>Remove selected trail</button>
<div id='filterPanel'></div>
</div>
<div id='detailPanel' class='panel invisible'>
<h1 class='center' id='detailTitle'></h1>
<div id='detailInfograph'></div>
<div id='detailDescription'></div>
<div id='detailElevationProfile'></div>
</div>
<div id='basemapPanel' class='panel invisible'>
<div class='basemaps'></div>
<div class='layers'></div>
</div>
</div>
<div class='smallMenu'>
<calcite-fab aria-label='Show details' id='details' icon="handle-vertical" kind="neutral" class="mobileButton"></calcite-fab>
<calcite-fab icon="home" aria-label='Set initial extent' id='home' kind="neutral"></calcite-fab>
<calcite-fab icon="information-f" aria-label='Show information about this app' id='about' kind="neutral"></calcite-fab>
<div>
<a aria-label='Tweet about this app' class='twitter-share-button' href='https://twitter.com/intent/tweet'>Tweet</a>
</div>
</div>
<div id='starterPage' class='starter'>
<div class='inner'>
<div class='cell'>
<h1 class='heading-starter center'>Swiss National Park</h1>
<p class='description lead center'>This app shows the hiking trails for the Swiss National Park, the largest and most highly protected area in Switzerland.
</p>
<p id='startApp' class='lead center'>
<button id='showMap'>Go to map</button>
</p>
</div>
</div>
<div class='foot'>
<div class='center'>
<p>
<a href='http://developers.arcgis.com/javascript'>
<img src='./src/img/esri-10GlobeLogo_1C.png' alt='esri logo'>
</a>
</p>
</div>
</div>
</div>
<div id='credentialsPanel'>
<span class="esri-icon-close" id="close"></span>
<h1>Disclaimer</h1>
<p>This is a non-commercial, demo application made at the Esri R&D Center Zurich for visualizing hiking trails in the Swiss National Park.
It is built on top of <a href="https://developers.arcgis.com/javascript/" target="_blank">ArcGIS API for JavaScript version 4.20</a>.</p>
<h1> Credits </h1>
<p>Data for the hiking trails was kindly provided by the <a href="http://www.nationalpark.ch/en/visit/trails-routes" target="_blank">Swiss National Park</a>. </p>
<p>Basemaps and satellite image by <a href="https://www.esri.com/" target="_blank">ESRI</a></p>
</ul>
</div>
<!--script for Twitter sharing link-->
<script>
window.twttr = (function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = 'https://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function (f) {
t._e.push(f);
};
return t;
}(document, 'script', 'twitter-wjs'));
</script>
</body>
</html>