-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (50 loc) · 1.56 KB
/
index.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
51
52
53
54
55
56
57
58
<!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: 0px; padding: 0px }
#map_canvas { height: 100% }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="fluster/lib/Fluster2.packed.js"></script>
<script type="text/javascript" src="js/state.js"></script>
<script type="text/javascript" src="js/add_controls.js"></script>
<script type="text/javascript" src="js/create_map.js"></script>
<script type="text/javascript" src="js/find_location.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
var markersArray = []
function initialize() {
var home = new google.maps.LatLng(
-26.00, 135.00
);
var myOptions = {
zoom: 4,
center: home ,
navigationControl: true,
navigationControlOptions: {
style: google.maps.NavigationControlStyle.ZOOM_PAN
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(
document.getElementById('map_canvas'),
myOptions
);
var controls = add_controls(map, home);
createGeocoderControl(map);
var fluster = new Fluster2(map);
$.getJSON('/data/json_data.html', function(suburb_data2) {
create_map(map, fluster, suburb_data2);
fluster.initialize();
});
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%">
</div>
</body>
</html>