diff options
-rw-r--r-- | map.css | 4 | ||||
-rw-r--r-- | map.js | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -38,8 +38,8 @@ div.box { bottom: 10px; } -#distboxOuter { - position: absolute; +#distboxouter { + position: fixed; width: 99%; top: 10px; background: none; @@ -230,6 +230,7 @@ RulerControl.prototype.initialize = function(map) { GEvent.addListener(marker2, "drag", function() { measure(); }); }); distBoxOuter = document.createElement("div"); + distBoxOuter.id = "distboxouter"; distBox = document.createElement("div"); distBox.className = "box"; distBox.id = "distbox"; |