From a7da80c24b651e37baef6ef0a50b2c9f8c7ac19d Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 23 Aug 2006 20:39:22 +0000 Subject: [PATCH] Until we have line drawing, there's no need for ruler-ing. It's confusing users. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1339 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/MouseToolbar.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Control/MouseToolbar.js b/lib/OpenLayers/Control/MouseToolbar.js index 3183ed5493..25218592e2 100644 --- a/lib/OpenLayers/Control/MouseToolbar.js +++ b/lib/OpenLayers/Control/MouseToolbar.js @@ -47,7 +47,6 @@ OpenLayers.Control.MouseToolbar.prototype = centered = centered.add((this.direction == "vertical" ? 0 : sz.w), (this.direction == "vertical" ? sz.h : 0)); this._addButton("pan", "panning-hand-off.png", "panning-hand-on.png", centered, sz, "Drag the map to pan."); centered = centered.add((this.direction == "vertical" ? 0 : sz.w), (this.direction == "vertical" ? sz.h : 0)); - this._addButton("measure", "measuring-stick-off.png", "measuring-stick-on.png", centered, sz, "Hold alt when clicking to show distance between selected points"); this.switchModeTo("pan"); this.map.events.register("zoomend", this, function() { this.switchModeTo("pan"); }); return this.div;