Open GoogleCodeExporter opened 8 years ago
I'm not familiar with v3 of the Google's API, but I would expect it to just be
a JavaScript change. Give it a shot and let us know if you get it working.
Original comment by whit537@gmail.com
on 11 Nov 2010 at 7:17
Thanks for the reply. In the end I wrote my own server-side and client-side
code. As you say, the JS involved was very simple so I expect it'd be a
straightforward port.
I'm not sure how to format code in these comments so will hope it's uses the
wiki formatting :)
{{{
// assuming we have a 'google.maps.Map' object assigned to 'map'
map.overlayMapTypes.insertAt(0, new google.maps.ImageMapType({
getTileUrl: function (coord, zoom) {
return '/maps/heatmaptile?zoom=' + zoom + '&x=' + coord.x + '&y=' + coord.y;
},
tileSize: new google.maps.Size(256, 256),
isPng: true
}));
}}}
Original comment by drewnoakes
on 18 Nov 2010 at 2:45
Original issue reported on code.google.com by
drewnoakes
on 11 Nov 2010 at 1:45