|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="utf-8" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" /> |
| 7 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 8 | + |
| 9 | + <meta name="apple-itunes-app" content="app-id=1567437057"> |
| 10 | + |
| 11 | + <meta name="description" content="Free Android & iOS offline OSM (OpenStreetMap) maps app for travelers, tourists, drivers, hikers, and cyclists from creators of MAPS.ME (MapsWithMe)."> |
| 12 | + <meta itemprop="name" content="Free Android & iOS offline OSM (OpenStreetMap) maps app for travelers, tourists, drivers, hikers, and cyclists from creators of MAPS.ME (MapsWithMe)."> |
| 13 | + <meta itemprop="description" content="Free Android & iOS offline OSM (OpenStreetMap) maps app for travelers, tourists, drivers, hikers, and cyclists from creators of MAPS.ME (MapsWithMe)."> |
| 14 | + |
| 15 | + <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png"> |
| 16 | + <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png"> |
| 17 | + <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png"> |
| 18 | + <link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#449f33"> |
| 19 | + |
| 20 | + <title>Install Beta version of Organic Maps</title> |
| 21 | + |
| 22 | + <script type="text/javascript"> |
| 23 | + // Needed for some old browsers on Android 5 together with vars (no const and let!). |
| 24 | + if (!('includes' in String.prototype)) { |
| 25 | + String.prototype.includes = function (str) { |
| 26 | + return this.indexOf(str) !== -1; |
| 27 | + } |
| 28 | + } |
| 29 | + var defaultUrl = 'https://organicmaps.app/#community'; |
| 30 | + // Should match the links on the website above. |
| 31 | + var betaAndroidFirebase = 'https://appdistribution.firebase.dev/i/f3e918f9abc40c9c'; |
| 32 | + var betaTestFlight = 'https://testflight.apple.com/join/lrKCl08I'; |
| 33 | + |
| 34 | + var isiOS = navigator.platform.substring(0, 2) === 'iP' || // iPhone, iPad, iPod, including simulators. |
| 35 | + (navigator.userAgent.includes('Mac') && 'ontouchend' in document); // iPad on iOS 13+. |
| 36 | + |
| 37 | + var isAndroid = !isiOS && /(android)/i.test(navigator.userAgent); |
| 38 | + var isDesktop = !isiOS && !isAndroid; |
| 39 | + |
| 40 | + var redirectUrl = defaultUrl; |
| 41 | + var path = new URL(window.location.href).pathname.toLowerCase(); |
| 42 | + |
| 43 | + if (isAndroid) { |
| 44 | + redirectUrl = betaAndroidFirebase; |
| 45 | + } else if (isiOS) { |
| 46 | + redirectUrl = betaTestFlight; |
| 47 | + } |
| 48 | + window.open(redirectUrl, '_self'); |
| 49 | + </script> |
| 50 | + |
| 51 | + <style> |
| 52 | + html, |
| 53 | + body { |
| 54 | + width: 100%; |
| 55 | + margin: 0; |
| 56 | + padding: 0; |
| 57 | + background-color: black; |
| 58 | + color: white; |
| 59 | + } |
| 60 | + |
| 61 | + p { |
| 62 | + margin: 1rem; |
| 63 | + } |
| 64 | + |
| 65 | + a, |
| 66 | + a:link, |
| 67 | + a:visited { |
| 68 | + color: limegreen; |
| 69 | + } |
| 70 | + |
| 71 | + a:hover, |
| 72 | + a:active { |
| 73 | + color: lime; |
| 74 | + } |
| 75 | + </style> |
| 76 | + |
| 77 | +</head> |
| 78 | + |
| 79 | +<body> |
| 80 | + <h1>Redirecting to Organic Maps Beta installation page...</h1> |
| 81 | + <p> |
| 82 | + <a href="https://organicmaps.app">Organic Maps</a> is an Android & iOS offline maps app |
| 83 | + for travelers, tourists, hikers, and cyclists based on top of crowd-sourced |
| 84 | + <a href="https://openstreetmap.org">OpenStreetMap</a> data and curated with love by <strong>MAPS.ME</strong> founders. |
| 85 | + </p> |
| 86 | + <p> |
| 87 | + <a href="https://play.google.com/store/apps/details?id=app.organicmaps"> |
| 88 | + <img src="https://raw.githubusercontent.com/organicmaps/organicmaps/master/docs/badges/google-play.png" width="180"> |
| 89 | + </a> |
| 90 | + <a href="https://f-droid.org/en/packages/app.organicmaps/"> |
| 91 | + <img src="https://raw.githubusercontent.com/organicmaps/organicmaps/master/docs/badges/fdroid.png" width="180"> |
| 92 | + </a> |
| 93 | + <a href="https://appgallery.huawei.com/#/app/C104325611"> |
| 94 | + <img src="https://raw.githubusercontent.com/organicmaps/organicmaps/master/docs/badges/huawei-appgallery.png" width="180"> |
| 95 | + </a> |
| 96 | + <a href="https://apps.apple.com/app/id1567437057"> |
| 97 | + <img src="https://raw.githubusercontent.com/organicmaps/organicmaps/master/docs/badges/apple-appstore.png" width="180"> |
| 98 | + </a> |
| 99 | + </p> |
| 100 | + |
| 101 | +</body> |
| 102 | + |
| 103 | +</html> |
0 commit comments