diff options
author | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 22:40:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2008-12-05 22:40:24 +0000 |
commit | 2ad233be830b0d6381e5c9019560733f57893b9d (patch) | |
tree | 6a9ae472d7f32cb07ae7798af5a96d710e953d51 /map.js | |
parent | 5a7622c8ca7d2858d722a402fbddc4a2949a832d (diff) |
fixed ruler layer which hides control buttons
Diffstat (limited to 'map.js')
-rw-r--r-- | map.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,9 +25,9 @@ function initialize(lat, lng, res) { map.setMapType(G_NORMAL_MAP); map.setZoom(res); } + map.addControl(new RulerControl()); 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()); GEvent.addListener(map, "addoverlay", onAddOverlay); GEvent.addListener(map, "zoomend", onZoom); |