source: src/website_ontwerp/script/gmap.js@ 8988

Last change on this file since 8988 was 8853, checked in by dennisw, 15 years ago

stageplan_0.1 - toegevoegd
gheat - sourcecode toegevoegd
website_ontwerp - map aangepast, komt nu beter overeen met idee dat ik heb

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision
  • Property svn:mime-type set to text/plain
File size: 575 bytes
RevLine 
[8836]1 function initialize() {
[8848]2 var myLatlng = new google.maps.LatLng(52.144292,4.484982);
[8836]3 var myOptions = {
[8848]4 zoom: 14,
[8836]5 center: myLatlng,
[8848]6 mapTypeId: google.maps.MapTypeId.ROADMAP,
7 maxZoom: 16
[8836]8 }
9 var map = new google.maps.Map(document.getElementById("heatmap"), myOptions);
[8843]10 map.overlayMapTypes.insertAt(0, heatmap);
11 }
[8836]12
[8843]13 var heatmap = new google.maps.ImageMapType({
14 getTileUrl: function(coord, zoom)
15 {
[8853]16 return 'classic/' + zoom + '/' + coord.x + ',' + coord.y + '.png';
[8843]17 },
18 tileSize: new google.maps.Size(256, 256),
19 isPng: true
20 });
Note: See TracBrowser for help on using the repository browser.