Skip to content

Commit

Permalink
mobile template (testing iPhone performance)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtigas committed Aug 8, 2010
1 parent 4ba07b5 commit 8446e6c
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/gheat_demo/templates/home-mobile.html
Expand Up @@ -26,20 +26,22 @@

var map;
function initialize() {
map = new google.maps.Map(document.getElementById("map"));
map.setCenter(new google.maps.LatLng(38.9517053, -92.3340724));
map.setZoom(4);
map.setMapTypeId('terrain');
map = new google.maps.Map(document.getElementById("map"), {
zoom: 6,
center:new google.maps.LatLng(38.9517053, -92.3340724),
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
},
mapTypeId: google.maps.MapTypeId.TERRAIN
});
map.overlayMapTypes.insertAt(0, heatmap);
}
</script>
<style type="text/css">
html, body, #map {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
html { height: 100% }
body { height: 100%; margin: 0px; padding: 0px }
#map { height: 100% }
</style>
</head>
<body onload="initialize()">
Expand Down

0 comments on commit 8446e6c

Please sign in to comment.