/
mobile.html
36 lines (33 loc) · 1.14 KB
/
mobile.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>mobile</title>
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<meta name="description" content="A very simple instantiation of the geomap widget for a full screen mobile app">
<meta name="author" content="Ryan Westphal">
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div>
<div id="map" style="position: fixed; left: 0; top: 0; right: 0; bottom: 0;">
</div>
<div class="info not-mobile" style="float: right;">
<a href="../" class="docLink">< docs</a>
<h1>mobile</h1>
<p>A full window div...geomap called, zoomed in to level 6.</p>
<p>Add a <i>meta viewport</i> tag to your head element and you're good to go.</p>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://code.jquerygeo.com/jquery.geo-1.0b1.min.js"></script>
<script>
$(function () {
$("#map").geomap({
center: [-71.0595678, 42.3604823],
zoom: 7
});
});
</script>
</body>
</html>