Last change
on this file since 8982 was 8853, checked in by dennisw, 14 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
|
Line | |
---|
1 | function initialize() {
|
---|
2 | var myLatlng = new google.maps.LatLng(52.144292,4.484982);
|
---|
3 | var myOptions = {
|
---|
4 | zoom: 14,
|
---|
5 | center: myLatlng,
|
---|
6 | mapTypeId: google.maps.MapTypeId.ROADMAP,
|
---|
7 | maxZoom: 16
|
---|
8 | }
|
---|
9 | var map = new google.maps.Map(document.getElementById("heatmap"), myOptions);
|
---|
10 | map.overlayMapTypes.insertAt(0, heatmap);
|
---|
11 | }
|
---|
12 |
|
---|
13 | var heatmap = new google.maps.ImageMapType({
|
---|
14 | getTileUrl: function(coord, zoom)
|
---|
15 | {
|
---|
16 | return 'classic/' + zoom + '/' + coord.x + ',' + coord.y + '.png';
|
---|
17 | },
|
---|
18 | tileSize: new google.maps.Size(256, 256),
|
---|
19 | isPng: true
|
---|
20 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.