expoweb/handbook/mapapp.html

22 lines
1.1 KiB
HTML

<html><head><title>Map App</title></head><body>
<H1>Map app</H1>
Map app is an offline map of the plateau and cave entrances. Fundamentally it is a website,
which can be <a href="/expofiles/mapapp/mapapp.zip">downloaded</a> as a zip file.
Once downloaded it can be extracted to somewhere on your phone.
<br>
Now we need to host the website on your phone, in a way that your browser will trust the website to geolocate you. On android this can be done using
simpe HTTP server.
<ul>
<li>Click on Root folder and point at the folder where you extracted the zip file.</li>
<li>Tick "Redirect to index.html if present"</li>
<li>Tick "Restrict network interfaces", then select untick everything apart from "lo 127.0.0.1"</li>
<li>Pres the "START" button</li>
</ul>
Open firefox and navigate to <a href="http://127.0.0.1:8080/index.html">http://127.0.0.1:8080/index.html</a>
or <a href="http://localhost:8080/index.html">http://localhost:8080/index.html</a>
(If you are genuinely offline, chrome stops access to 127.0.0.1, hence firefox is recomended instead)</body></html>