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 @@
-