diff options
author | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 22:35:30 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 22:35:30 +0000 |
commit | 5a7622c8ca7d2858d722a402fbddc4a2949a832d (patch) | |
tree | aa4698a33593663c27f9e19419914945573252ca | |
parent | a5119f6472b8ab37bb933267594fa40823139748 (diff) |
fixed distbox-and-map-zoom problem
-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"; |