From 56a8970bdce933f2469fe54ed1ea7fc936265c22 Mon Sep 17 00:00:00 2001 From: Gregory Short Date: Mon, 6 Sep 2010 17:44:08 -0500 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