mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>GeoJSON track</title>
|
|
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<link rel="icon" sizes="192x192" href="../static/recorder.png" />
|
|
<link rel="apple-touch-icon" href="../static/recorder.png" />
|
|
|
|
<style type="text/css">
|
|
html { height: 100%; }
|
|
body { height: 100%; margin: 0px; padding: 0px; }
|
|
#map-canvas { height: 100%; }
|
|
body { font-size: 80%; padding: 0; margin: 0px; }
|
|
|
|
</style>
|
|
|
|
<script src="../static/js/mustache.js"></script>
|
|
<script src="../static/js/moment.min.js"></script>
|
|
<script src="functions.js"></script>
|
|
<script src="../static/apikey.js"></script>
|
|
<script>
|
|
function loadMapsAPI() {
|
|
var script = document.createElement('script');
|
|
script.type = 'text/javascript';
|
|
script.src = 'https://maps.googleapis.com/maps/api/js?v=3' +
|
|
'&signed_in=true&key=' + apiKey +'&callback=initialize';
|
|
document.body.appendChild(script);
|
|
|
|
|
|
}
|
|
|
|
document.addEventListener("DOMContentLoaded", function(event) {
|
|
loadMapsAPI();
|
|
});
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="map-canvas"></div>
|
|
</body>
|
|
</html>
|