]> dev.renevier.net Git - syj.git/blobdiff - public/js/syjraw.js
enable navigation in raw mode
[syj.git] / 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 }),