Styling tweaks for speelplekken theme
This commit is contained in:
parent
bc26805d69
commit
20386b7c0b
6 changed files with 97 additions and 53 deletions
84
test.html
84
test.html
|
@ -15,10 +15,88 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="maindiv">'maindiv' not attached</div>
|
||||
<div id="maindiv">'maindiv' not attached</div>
|
||||
<div id="extradiv">'extradiv' not attached</div>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<script src="./test.ts"></script>
|
||||
<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>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue