X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=js%2Fsyp.js;h=16749b1d4cc47753e0bec374b5187214809c0cc5;hb=06ea46b2592c3a727a0d95f1e48643119565b733;hp=032a6ac71e4264c29922c8e496f76a845cb9f272;hpb=de485fbe85dc15d416ed08a51d6561fc8db0e078;p=syp.git diff --git a/js/syp.js b/js/syp.js index 032a6ac..16749b1 100644 --- a/js/syp.js +++ b/js/syp.js @@ -32,10 +32,10 @@ var SYP = { init: function() { this.map = new OpenLayers.Map("map", { controls:[ + //new OpenLayers.Control.SypAttribution(), new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoom(), - new OpenLayers.Control.Permalink(), - new OpenLayers.Control.SypAttribution() + new OpenLayers.Control.Permalink() ], projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326") @@ -140,7 +140,7 @@ var SYP = { this.map.events.unregister("movestart", this, this._unselect); return; } - popup = feature.popup; + var popup = feature.popup; if (popup.visible()) { popup.hide(); }