summaryrefslogtreecommitdiff
path: root/static/main_map.js
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2010-01-18 10:19:49 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2010-01-18 10:19:49 +0000
commit857433958e87438451e937b1d3e54dbb1924e785 (patch)
tree70a954816a4d50348fb11b9909d88c20496ea5d1 /static/main_map.js
parent71d554e3b9dff7d1485e1da32e67afcd641ffb9e (diff)
downloadChimère-857433958e87438451e937b1d3e54dbb1924e785.tar.bz2
Chimère-857433958e87438451e937b1d3e54dbb1924e785.zip
Change panel type to allow customization - #71
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@47 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'static/main_map.js')
-rw-r--r--static/main_map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/main_map.js b/static/main_map.js
index bf69a9a..7cc80a6 100644
--- a/static/main_map.js
+++ b/static/main_map.js
@@ -359,7 +359,8 @@ function init(){
/* set the main map */
map = new OpenLayers.Map('map', {
controls:[new OpenLayers.Control.Navigation(),
- new OpenLayers.Control.PanZoomBar(),
+ new OpenLayers.Control.PanPanel(),
+ new OpenLayers.Control.ZoomPanel(),
new OpenLayers.Control.ScaleLine()],
maxResolution: 156543.0399,
units: 'm',