summaryrefslogtreecommitdiff
path: root/static/edit_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/edit_map.js')
-rw-r--r--static/edit_map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/edit_map.js b/static/edit_map.js
index d8e88b4..d9b9f12 100644
--- a/static/edit_map.js
+++ b/static/edit_map.js
@@ -61,7 +61,8 @@ var putMarker = function (lonlat, zoom){
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',