diff options
author | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 17:02:11 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 17:02:11 +0000 |
commit | a5119f6472b8ab37bb933267594fa40823139748 (patch) | |
tree | 6b00798ef596525e9594790e301325ac9884fa1e /map.js | |
parent | f7788bd98cecfd207fb88219a41cf7d19f766a10 (diff) |
fixed RulerControl.clr()
Diffstat (limited to 'map.js')
-rw-r--r-- | map.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,8 +190,8 @@ RulerControl.prototype.initialize = function(map) { function clr(){ for(var o in overlays["ruler"]) { map.removeOverlay(overlays["ruler"][o]); - overlays["ruler"][o] = null; } + overlays["ruler"] = []; distBox.style.visibility = "hidden"; btnText.data = "Entfernung messen"; } |