From: arno Date: Thu, 7 Jul 2011 13:59:45 +0000 (+0200) Subject: enable navigation in raw mode X-Git-Tag: v.0.3.4~2 X-Git-Url: https://dev.renevier.net/?p=syj.git;a=commitdiff_plain;h=11aeabb7c67df94d738f0f278604201ccb35c6fb enable navigation in raw mode --- diff --git a/public/js/syjraw.js b/public/js/syjraw.js index cf6be9c..3606018 100644 --- a/public/js/syjraw.js +++ b/public/js/syjraw.js @@ -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 }),