]> dev.renevier.net Git - syj.git/commitdiff
enable navigation in raw mode
authorarno <arno@renevier.net>
Thu, 7 Jul 2011 13:59:45 +0000 (15:59 +0200)
committerarno <arno@renevier.net>
Thu, 7 Jul 2011 13:59:45 +0000 (15:59 +0200)
public/js/syjraw.js

index cf6be9c37eb8e964d3ea010be1581735d046a28c..3606018658cb7560ab22918a3227e589ac221396 100644 (file)
@@ -19,7 +19,10 @@ function resizeMap() {
 
 function init() {
     var map = new OpenLayers.Map('map', {
-                controls: [ new OpenLayers.Control.Attribution() ],
+                controls: [
+                    new OpenLayers.Control.Navigation(),
+                    new OpenLayers.Control.Attribution()
+                ],
                 theme: null}),
 
          baseLayer = new OpenLayers.Layer.OSM("OSM", null, { attribution: SyjStrings.osmAttribution }),