summaryrefslogtreecommitdiff
path: root/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'map.js')
-rw-r--r--map.js2
1 files changed, 1 insertions, 1 deletions
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());