-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap2.html
50 lines (47 loc) · 1.58 KB
/
map2.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta charset="utf-8">
<title>Local Food Mapping Test - Paul Oppenheim</title>
<!-- Mocha Testing -->
<link rel="stylesheet" href="mocha.css" />
<style type="text/css">#mocha{display: none; background: white;} #stats{position: static;}</style>
<script src="myrequire.js"></script>
<script src="jquery-1.8.1.js"></script>
<script src="expect.js"></script>
<script src="assert.js"></script>
<script src="mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="test/test.js"></script>
<!-- Local Food Mapping -->
<link rel="stylesheet" href="map2.css" />
<script type="text/javascript" src="map2.js"></script>
<script type="text/javascript" src="test/test_map2.js"></script>
<script type="text/javascript">
window.onload = food_map_init;
</script>
</head>
<body>
<div class="highlineblock"></div>
<div class="posblock">
<div id="map_canvas"></div>
</div>
<!-- should be invisible until elements used in Google Map InfoWindow -->
<div class="jscontent">
<div id="infowindow_userloc">
<h2>Your Location</h2>
<p id="infowindow_userloc_coord"></p>
<!--
<p>Edit Location?</p>
<p>Search Radius (miles): <input type='range' id="location_radius_input" value="0.5"/></p>
-->
<input type=button value="reset" onclick="set_user_loc(map2['lat'], map2['lon']); get_geoloc();">
</div>
</div>
<a name="test">
<!-- should be invisible unless URL ends in #test -->
<div id="mocha"></div>
</a>
</body>
</html>