diff options
-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"; } |