summaryrefslogtreecommitdiff
path: root/map.js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-05 17:02:11 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-05 17:02:11 +0000
commita5119f6472b8ab37bb933267594fa40823139748 (patch)
tree6b00798ef596525e9594790e301325ac9884fa1e /map.js
parentf7788bd98cecfd207fb88219a41cf7d19f766a10 (diff)
fixed RulerControl.clr()
Diffstat (limited to 'map.js')
-rw-r--r--map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.js b/map.js
index 36b206e..4847a0d 100644
--- a/map.js
+++ b/map.js
@@ -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";
}