From 6b6979ac3a146d49e9a048025a97c01f955d79e2 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Fri, 31 Dec 2010 13:33:51 +0100 Subject: [PATCH] Fixed browser compatiblity for Firefox with several cleanups, added jQuery and readded follow-boxes. --- web/custommarker.js | 4 + web/index.html | 11 +- web/jquery-1.4.4.min.js | 167 +++++++ web/map.js | 933 ++++++++++++++++++++-------------------- web/style.css | 10 + 5 files changed, 644 insertions(+), 481 deletions(-) create mode 100644 web/jquery-1.4.4.min.js diff --git a/web/custommarker.js b/web/custommarker.js index 2ed55c0f..de1f04d2 100644 --- a/web/custommarker.js +++ b/web/custommarker.js @@ -53,6 +53,10 @@ CustomMarker.prototype.setPosition = function(p) { } }; +CustomMarker.prototype.getPosition = function(p) { + return this.latlng_; +}; + CustomMarker.prototype.hide = function() { if (this.div_ && !this.isHidden) { this.div_.style.display = 'none'; diff --git a/web/index.html b/web/index.html index 5bca711d..23150bc7 100644 --- a/web/index.html +++ b/web/index.html @@ -8,11 +8,12 @@ Minecraft Dynamic Map - - - + + + + - + @@ -27,7 +28,7 @@
-