-
Notifications
You must be signed in to change notification settings - Fork 0
/
cgstromen.html
201 lines (174 loc) · 7.87 KB
/
cgstromen.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Circulaire Grondstromen</title>
<meta name="generator" content="PWA Starter Kit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="An introduction to Geographic Information Systems (GIS)">
<!--
The `<base>` tag below is present to support two advanced deployment options:
1) Differential serving. 2) Serving from a non-root path.
Instead of manually editing the `<base>` tag yourself, you should generally either:
a) Add a `basePath` property to the build configuration in your `polymer.json`.
b) Use the `--base-path` command-line option for `polymer build`.
-->
<link rel="icon" href="images/favicon.ico">
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="manifest.json">
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#2e7dba">
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Circulaire grondstromen">
<!-- Do not try to translate -->
<meta name="googlebot" content="notranslate" />
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Circulaire grondstromen">
<!-- Homescreen icons -->
<link rel="apple-touch-icon" href="images/manifest/icon-48x48.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/manifest/icon-72x72.png">
<link rel="apple-touch-icon" sizes="96x96" href="images/manifest/icon-96x96.png">
<link rel="apple-touch-icon" sizes="144x144" href="images/manifest/icon-144x144.png">
<link rel="apple-touch-icon" sizes="192x192" href="images/manifest/icon-192x192.png">
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/manifest/icon-144x144.png">
<meta name="msapplication-TileColor" content="#3f51b5">
<meta name="msapplication-tap-highlight" content="no">
<!-- Default twitter cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@username">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Circulaire gronstromen">
<meta property="og:image" content="images/manifest/icon-144x144.png" />
<!--script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.css' rel='stylesheet' -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans">
<link href="node_modules/hopscotch/dist/css/hopscotch.min.css" rel="stylesheet">
<!--script src="node_modules/mapbox-gl/dist/mapbox-gl.js"></script-->
<script src="node_modules/maplibre-gl/dist/maplibre-gl.js"></script>
<!--link href="node_modules/maplibre-gl/dist/maplibre-gl.css" rel="stylesheet"-->
<script src="node_modules/@edugis/mapbox-gl-draw/dist/mapbox-gl-draw.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script>
<!-- workaround bug mapbox-gl v.051, https://github.com/mapbox/mapbox-gl-js/issues/7589 -->
<style>
.mapboxgl-ctrl.mapboxgl-ctrl-attrib p {
display: inline-block;
margin: 2px;
}
@font-face {
font-family: 'Noto Sans Bold';
src: url(./notosans-bold.woff2);
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: 'Noto Sans Italic';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url(./notosans-italic.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
</style>
<!-- load turf globally because import causes polymer build out of heap memory error -->
<script src="node_modules/@turf/turf/turf.min.js"></script>
<script src="lib/topojson-client.js"></script>
<!-- file-saver-->
<script src="node_modules/file-saver/dist/FileSaver.min.js"></script>
<!-- csv parser -->
<script src="node_modules/papaparse/papaparse.min.js"></script>
<!-- xls spreadsheet parser -->
<script src="node_modules/xlsx/dist/xlsx.full.min.js"></script>
<!-- wms-capabilities -->
<script src="lib/wms-capabilities.min.js"></script>
<!-- chartjs -->
<!-- script src="node_modules/chartjs/chart.js"></script -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<link rel="stylesheet" href="node_modules/@simonwep/pickr/dist/themes/nano.min.css"/> <!-- 'nano' theme -->
<script src="node_modules/@simonwep/pickr/dist/pickr.min.js"></script>
<script src="src/keys.js"></script>
<script src="https://twgljs.org/dist/3.x/twgl.min.js"></script>
<script src="lib/trafficlayer.js"></script>
<!-- script src="src/openmaptiles-language.js"></script -->
<script>
/*
// Load and register pre-caching Service Worker
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('service-worker.js', {
scope: '/',
});
});
}
*/
// Redux assumes `process.env.NODE_ENV` exists in the ES module build.
// https://github.com/reactjs/redux/issues/2907
window.process = { env: { NODE_ENV: 'production' } };
</script>
<!-- Add any global styles for body, document, etc. -->
<style>
html, body {
box-sizing: border-box;
}
html {
height: 100%;
width: 100%;
}
#app-container {
position:absolute;
overflow:hidden;
min-height: 100vh;
min-width: 100vw;
}
body {
margin: 0;
/* This is a font-stack that tries to use the system-default sans-serifs first */
font-family: 'Open Sans',sans-serif,'Arial','Helvetica',"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
line-height: 1.5;
-webkit-font-smoothing: antialiased;
min-height: 100%;
padding: 0;
}
map-app {
display: block;
width: 100%;
height: 100%;
min-height: 100%;
--theme-background-color: black;
--theme-hover-background-color: #888888;
--theme-active-background-color: #666;
--theme-color: white;
}
</style>
<script>
// add hash if not present
if (window.location.hash === '') {
window.location.hash = '#configurl=maps/cgs.json';
}
// hide address bar on mobile browsers
window.addEventListener("load",function() {
setTimeout(function(){
// This hides the address bar:
window.scrollTo(0, 1);
}, 0);
});
</script>
</head>
<body translate="no">
<div id="app-container">
<map-app app-name="Circulaire grondstromen matching-portaal" logo-url="images/logo_doorzichtig_br_light.png" show-language default-language="auto"></map-app>
<noscript>
Please enable JavaScript to view this website.
</noscript>
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script type="module" src="src/components/map-app.js" crossorigin></script>
</div>
<script src="node_modules/hopscotch/dist/js/hopscotch.min.js"></script>
</body>
</html>