aboutsummaryrefslogtreecommitdiffstats
path: root/example.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-18 22:04:07 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-18 22:17:48 +0100
commit85b125b35c5b5489ec153fd29324965eb1b3ef85 (patch)
tree59e2956063af2ae8d309833d3358d7a5f53a3de4 /example.html
parentfecb2dabe6718ffc0faad5484f31cf1b98335fc5 (diff)
Improve handling of <iframe>.
Remove ability to click the map, and instead a button to open the map in a new tab.
Diffstat (limited to 'example.html')
-rw-r--r--example.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/example.html b/example.html
index c3d3c1c..f461f0d 100644
--- a/example.html
+++ b/example.html
@@ -8,6 +8,9 @@
body {
text-align: center;
padding: 1em;
+ max-width: 960px;
+ margin: auto;
+ font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
iframe {
border: 1px solid black;
@@ -15,7 +18,11 @@
</style>
</head>
<body>
+ <p>En sådan översiktskarta kan visas någonstans på hemsidan. Man
+ kan zooma in och ut men det är liten begränsat. Klickar man på
+ knappen uppe till höger så öpnar hela kartan i en ny flik. Där kan
+ man välja lager, ladda ner kartan som PNG-fil, och få information om
+ de olika föremålen.</p>
<iframe src="/#z=0" title="Webbkarta" width=500 height=600></iframe>
- <p>blah blah blah</p>
</body>
</html>