function initialize() { map = new google.maps.Map(document.getElementById('map'), { center: new google.maps.LatLng(42.0540,-44.2969), zoom: 2, mapTypeId: 'roadmap' }); layer = new google.maps.FusionTablesLayer(132848, { heatmap: true }); layer.setMap(map); }
<html> <head> <title>Google Maps API v3 : Fusion Table Layer - Heat Map</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> </script> </head> <body onload="initialize()"> <div id="map" style="width: 530px; height:230px"> </div> </body> </html>