summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-05 15:21:04 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-05 15:21:04 +0000
commit2a7604cdf48b265eb29b7e7b8c0d6f7cddc6fb19 (patch)
treeb215053bcff0084115cff007748d69ba542d3134
parentb8426972bbda6aca2a4f29d6f5ab55429430f923 (diff)
style fixes
-rw-r--r--map.css4
-rw-r--r--map.js1
2 files changed, 4 insertions, 1 deletions
diff --git a/map.css b/map.css
index c64beab..a15dd46 100644
--- a/map.css
+++ b/map.css
@@ -47,7 +47,9 @@ div.btn {
text-align: center;
padding: 2px;
margin-bottom: 3px;
- width: 10em;
cursor: pointer;
}
+#rulerbtn {
+ width: 10em;
+}
diff --git a/map.js b/map.js
index 517d816..9c0f06b 100644
--- a/map.js
+++ b/map.js
@@ -203,6 +203,7 @@ RulerControl.prototype.initialize = function(map) {
var container = document.createElement("div");
var btnDiv = document.createElement("div");
btnDiv.className = "btn";
+ btnDiv.id = "rulerbtn";
container.appendChild(btnDiv);
distText = document.createTextNode("Entfernung messen");
btnDiv.appendChild(distText);