From f47521db9de4b14ab56fc0f86a84407dd07165f2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 5 Dec 2008 14:16:35 +0000 Subject: cosmetic changes --- map.css | 43 ++++++++++++++++++++++++------------------- map.js | 2 +- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/map.css b/map.css index 56e72b4..5b8926a 100644 --- a/map.css +++ b/map.css @@ -1,30 +1,35 @@ +* { + margin: 0; + padding: 0; +} + body { - background: black; - margin: 0; - padding: 0; + background: black; + margin: 0; + padding: 0; } div.box { - font-size: 8pt; - background-color: #FFFFFF; - border: 2px solid #000000; - padding: 8px; - -moz-border-radius: 10px; - border-radius: 10px; - z-index: 99; - opacity: .7; - filter: alpha(opacity=70); + font-size: 8pt; + background-color: #FFFFFF; + border: 2px solid #000000; + padding: 8px; + -moz-border-radius: 10px; + border-radius: 10px; + z-index: 99; + opacity: .7; + filter: alpha(opacity=70); } #visibox { - position: absolute; - right: 20px; - top: 20px; - width: 20em; + position: absolute; + right: 10px; + top: 10px; + width: 20em; } #addressbox { - position: absolute; - right: 20px; - bottom: 20px; + position: absolute; + right: 10px; + bottom: 10px; } diff --git a/map.js b/map.js index 0a3f425..34a5c00 100644 --- a/map.js +++ b/map.js @@ -27,7 +27,7 @@ function initialize(lat, lng, res) { map.setMapType(G_NORMAL_MAP); map.setZoom(res); } - map.addControl(new GSmallMapControl()); + map.addControl(new GSmallMapControl(), new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10,20))); map.addControl(new GMapTypeControl(), new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(50,10))); map.addControl(new RulerControl()); -- cgit v1.2.1