-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfusion.html
58 lines (49 loc) · 1.25 KB
/
fusion.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>
<title>sumideros vega (100 mts) - Google Fusion Tables</title>
<style type="text/css">
html, body, #googft-mapCanvas {
height: 400px;
margin: 0;
padding: 0;
width: 600px;
}
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
function initialize() {
map = new google.maps.Map(document.getElementById('googft-mapCanvas'), {
center: new google.maps.LatLng(-34.57113952427522, -58.46692092846677),
zoom: 13,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(document.getElementById('googft-legend'));
buffer = new google.maps.FusionTablesLayer({
query: {
select: "'geometry'",
from: '151c0Xrz81_zPR7MBAHECp0ObE-1I9Y0lHz_dAVk'
},
map: map
});
layer = new google.maps.FusionTablesLayer({
map: map,
heatmap: { enabled: false },
query: {
select: "col7",
from: "16vdUUwdG8ZoLdnCtGQHMMPR-g_eJGleAYsnw-nw",
where: ""
},
options: {
styleId: 2,
templateId: 2
}
});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>
<body>
<div id="googft-mapCanvas"></div>
</body>
</html>