mapcomplete/test.html

103 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2020-06-24 00:35:19 +02:00
<!DOCTYPE html>
<html>
<head>
<title>Small tests</title>
2020-09-02 11:37:34 +02:00
<link href="index.css" rel="stylesheet"/>
<link href="css/slideshow.css" rel="stylesheet"/>
<link href="css/tabbedComponent.css" rel="stylesheet"/>
2020-09-30 22:22:58 +02:00
<link href="css/openinghourstable.css" rel="stylesheet"/>
2020-10-27 01:01:34 +01:00
<link href="css/tagrendering.css" rel="stylesheet"/>
2020-12-07 03:02:50 +01:00
<link href="css/ReviewElement.css" rel="stylesheet"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="node_modules/slick-carousel/slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="node_modules/slick-carousel/slick/slick-theme.css"/>
2020-06-24 00:35:19 +02:00
</head>
<body>
2020-11-17 02:22:48 +01:00
2021-04-23 12:59:09 +02:00
<div id="maindiv">'maindiv' not attached</div>
2020-07-01 02:12:33 +02:00
<div id="extradiv">'extradiv' not attached</div>
2021-04-23 12:59:09 +02:00
<script>
const cacheElement = {
"freshness": "2021-04-21T09:50:28.000Z",
feature:
{
"type": "Feature",
"id": "way/912515518",
"properties": {
"id": "way/912515518",
"name": "Speelbos De Reukens",
"playground": "forest",
"leisure": "playground",
"operator": "The world!"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
4.378341436386108,
51.120101600003316
],
[
4.378175139427185,
51.11954264284114
],
[
4.3786633014678955,
51.119963544947566
],
[
4.379317760467529,
51.119525806677146
],
[
4.379017353057861,
51.11997027935011
],
[
4.379714727401733,
51.12028679516189
],
[
4.379006624221802,
51.120313732577664
],
[
4.378706216812134,
51.120744729093836
],
[
4.378384351730347,
51.120306998225196
],
[
4.377686977386475,
51.120306998225196
],
[
4.378341436386108,
51.120101600003316
]
]
]
}
}
}
const cache = [cacheElement]
localStorage.setItem("cached-featuresspeelplekken", JSON.stringify(cache))
</script>
2020-06-24 00:35:19 +02:00
<script src="./test.ts"></script>
2021-04-23 12:59:09 +02:00
<iframe src="http://127.0.0.1:1234/index.html" height="500px" width="600px"></iframe>
<iframe src="http://127.0.0.1:1234/index.html?layout=bookcases&fs-userbadge=false&fs-search=false&fs-welcome-message=false&fs-layers=false&fs-geolocation=false"
height="500px" width="600px"></iframe>
2020-06-24 00:35:19 +02:00
</body>
</html>