diff options
-rw-r--r-- | map.css | 4 | ||||
-rw-r--r-- | map.js | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -47,7 +47,9 @@ div.btn { text-align: center; padding: 2px; margin-bottom: 3px; - width: 10em; cursor: pointer; } +#rulerbtn { + width: 10em; +} @@ -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); |