-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexInputs.html
41 lines (41 loc) · 1.4 KB
/
indexInputs.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map-canvas { height: 100% }
</style>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/layout.css">
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?sensor=false">
//src="http://maps.googleapis.com/maps/api/js?sensor=false"
</script>
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8
};
var map = new google.maps.Map(document.getElementById("map-canvas"),
mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>
<body>
<!--<div id="map-canvas"/>-->
<form action="map.php" method="get">
<label for="lat">Latitude:</label>
<input type="text" name="lat" id="lat"/>
<label for="lat">Longitude:</label>
<input type="text" name="long" id="long"/>
<label for="radius">Radius:</label>
<input type="text" name="radius" id="radius"/>
<input type="submit" value="Find Colleges!"/>
</form>
</body>
</html>