-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGeolocation.html
More file actions
73 lines (65 loc) · 2.9 KB
/
Geolocation.html
File metadata and controls
73 lines (65 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html>
<html manifest="index.appcache">
<head>
<meta charset="utf-8">
<title>Lungo.Sugars.Geolocation by @garolard</title>
<meta name="description" content="">
<meta name="author" content="Javier Jiménez Villar (@soyjavi)">
<!-- Mobile viewport optimization http://goo.gl/b9SaQ -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta http-equiv="cleartype" content="on">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- For iPhone 4 with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/icon@2x.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/icon-72.png">
<link rel="apple-touch-icon-precomposed" href="assets/images/icon.png">
<link rel="apple-touch-startup-image" href="assets/images/default.png">
<!-- Main Stylesheet -->
<link rel="stylesheet" href="./lungo.js/lungo-1.0.4.min.css">
<link rel="stylesheet" href="./lungo.js/lungo-1.0.4.min.icons.css">
<link rel="stylesheet" href="./lungo.js/lungo.theme.default.css">
</head>
<body class="app">
<!--
First, you have to do is create a LungoJS Application instance in the file app.js.
...and use a Webkit browser as Chrome or Safari.
-->
<section id="hello_world">
<header data-title="Localizador"></header>
<aside></aside>
<article id="an-article">
<a id="map_button" href="#map" data-target="section" class="button big blue" data-icon="pushpin" onclick="LUNGO.Sugar.Geolocation.setMap('map', true);">Búscame</a>
</article>
<!--<footer class="toolbar">
<nav>
<a href="#" class="current" data-icon="home"></a>
<a href="#" data-icon="pushpin"></a>
</nav>
</footer>-->
</section>
<section id="map">
<header data-title="Tu ubicación"></header>
<article id="main-article"></article>
<footer class="toolbar">
<nav>
<a href="#" data-icon="pushpin" class="current"></a>
<a href="#" data-icon="radar"></a>
<a href="#" data-icon="heart"></a>
</nav>
</footer>
</section>
<!-- LungoJS (Production mode) -->
<script src="lungo.js/lungo-1.2.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!-- LungoJS - Sandbox App -->
<script src="app/app.js"></script>
<script src="app/data.js"></script>
<script src="app/events.js"></script>
<script src="app/services.js"></script>
<script src="app/view.js"></script>
<script src="assets/javascripts/lungo.sugar.geolocation.js"></script>
</body>
</html>