summaryrefslogtreecommitdiff
path: root/static/edit_route_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/edit_route_map.js')
-rw-r--r--static/edit_route_map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/edit_route_map.js b/static/edit_route_map.js
index e366f0b..491f811 100644
--- a/static/edit_route_map.js
+++ b/static/edit_route_map.js
@@ -84,7 +84,8 @@ var pathModify = new OpenLayers.Control.ModifyFeature(vectors,
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(),
pathCreate,
pathModify],