From 040e2693313869fdbf10be8a5357d18042d1064e Mon Sep 17 00:00:00 2001 From: Gregory Short Date: Tue, 7 Sep 2010 06:44:08 +0800 Subject: [PATCH] Updated template.html to use google maps api v3. This also resolves the bug where double-clicking on the right side of the map to zoom in would zoom somewhere else entirely. --- template.html | 207 +++++++++++++++++--------------------------------- 1 file changed, 70 insertions(+), 137 deletions(-) diff --git a/template.html b/template.html index f960e14..fbb5b27 100644 --- a/template.html +++ b/template.html @@ -1,140 +1,73 @@ - - - - - + - - Minecraft Map Viewer - - - -
-
-
- - + }; + map = new google.maps.Map(document.getElementById("mcmap"), mapOptions); + + // Now attach the coordinate map type to the map's registry + map.mapTypes.set('mcmap', MCMapType); + + // We can now set the map to use the 'coordinate' map type + map.setMapTypeId('mcmap'); + } + + + +
+ + \ No newline at end of file