forked from eile/hiking-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (139 loc) · 6.67 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!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'>
<title>Hiking trails</title>
<link rel='manifest' href='./manifest.json'>
<link rel='stylesheet' href='https://js.arcgis.com/4.7/esri/css/main.css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet'>
<link rel='stylesheet' href='dist/main.css'>
</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'>
<button aria-label='Set initial extent' id='home' class='fa fa-home'></button>
<button aria-label='Show details' id='details' class='fa fa-binoculars mobileButton'></button>
<button aria-label='Show information about this app' id='about' class='fa fa-info'></button>
</div>
<span class='share'>
<a aria-label='Fork me on github' class='fa fa-github-square' href='https://github.com/RalucaNicola/hiking-app' target='_blank'></a>
<a aria-label='Tweet about this app' class='twitter-share-button' href='https://twitter.com/intent/tweet'>Tweet</a>
</span>
<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.6</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>This application uses the <a href="https://www.flickr.com/services/api/" target="_blank">Flickr API</a> but is not endorsed or certified by
<a href="https://www.flickr.com/" target="_blank">Flickr</a>. Flickr API is used to retrieve images from the hiking trails under
<a href="https://creativecommons.org/licenses/" target="_blank">Creative Commons licenses</a>.
See <a href="https://www.flickr.com/services/api/tos/" target="_blank">Flickr Terms of Use</a> for licensing information.
</p>
<p>Basemaps and satellite image by <a href="https://www.esri.com/" target="_blank">ESRI</a></p>
<p><a href="https://www.amcharts.com/" target="_blank">AMCharts</a> was used for the altitude profile.
<p><a href="https://fontawesome.com/" target="_blank">Font Awesome</a> was used for the icons.</p>
</ul>
</div>
<!--load ArcGIS API for JavaScript-->
<script>
var dojoConfig = {
has: {
"esri-promise-compatibility": 1
},
async: true
};
</script>
<script type='text/javascript' rel=preload src='https://js.arcgis.com/4.7/'></script>
<!--load app-->
<script>
require(['./dist/main.bundle.js'], function (main) { });
</script>
<!--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>