diff options
Diffstat (limited to 'static/edit_area.js')
| -rw-r--r-- | static/edit_area.js | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/static/edit_area.js b/static/edit_area.js index 325deaf..4daccf3 100644 --- a/static/edit_area.js +++ b/static/edit_area.js @@ -33,7 +33,8 @@ function updateForm(){  function init(){      map = new OpenLayers.Map ('map_edit', {          controls:[new OpenLayers.Control.Navigation(), -                    new OpenLayers.Control.PanZoomBar(), +                    new OpenLayers.Control.PanPanel(), +                    new OpenLayers.Control.ZoomPanel(),                      new OpenLayers.Control.Attribution()],          maxResolution: 156543.0399,          units: 'm', @@ -47,4 +48,4 @@ function init(){      if (!zoomToCurrentExtent(map)){          map.setCenter(centerLonLat, 12);      } -}
\ No newline at end of file +}  | 
