Skip to content

Commit 84e2a83

Browse files
committed
Provide manifest for mobile devices
Fixes #117
1 parent d7d56c0 commit 84e2a83

File tree

8 files changed

+34
-0
lines changed

8 files changed

+34
-0
lines changed
18.6 KB
Loading
27.5 KB
Loading
20 KB
Loading
27.5 KB
Loading

proxy/image/favicon-16x16.png

-480 Bytes
Loading

proxy/image/favicon-32x32.png

-127 Bytes
Loading

proxy/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="apple-mobile-web-app-capable" content="yes">
78

89
<link rel="apple-touch-icon" sizes="180x180" href="image/apple-touch-icon.png">
910
<link rel="icon" type="image/png" sizes="32x32" href="image/favicon-32x32.png">
1011
<link rel="icon" type="image/png" sizes="16x16" href="image/favicon-16x16.png">
12+
<link rel="manifest" href="manifest.json">
1113

1214
<link rel="stylesheet" href="css/bootstrap-4.6/bootstrap.min.css">
1315
<link rel="stylesheet" href="css/maplibre-gl-4.3/maplibre-gl.css">

proxy/manifest.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"short_name": "ORM",
3+
"name": "OpenRailwayMap",
4+
"icons": [
5+
{
6+
"src": "/image/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/image/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
},
15+
{
16+
"src": "/image/android-chrome-maskable-192x192.png",
17+
"sizes": "192x192",
18+
"type": "image/png",
19+
"purpose": "maskable"
20+
},
21+
{
22+
"src": "/image/android-chrome-maskable-512x512.png",
23+
"sizes": "512x512",
24+
"type": "image/png",
25+
"purpose": "maskable"
26+
}
27+
],
28+
"start_url": ".",
29+
"display": "standalone",
30+
"theme_color": "#000000",
31+
"background_color": "#000000"
32+
}

0 commit comments

Comments
 (0)