diff options
-rw-r--r-- | map.css | 43 | ||||
-rw-r--r-- | map.js | 2 |
2 files changed, 25 insertions, 20 deletions
@@ -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; } @@ -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()); |