]> dev.renevier.net Git - syj.git/blobdiff - public/js/syj.js
raw mode to display map
[syj.git] / public / js / syj.js
index 9114646b43aed316cfdc3970f97270f1307ac614..923e93dc2b1896cf553ac428484978471065edf0 100644 (file)
@@ -227,10 +227,8 @@ var SYJView = {
 
         layerOptions = {format:     OpenLayers.Format.WKT,
                         projection: WGS84,
-                        styleMap:   styleMap.view};
-        if (gLoggedInfo.creatorname) {
-            layerOptions.attribution = SyjStrings.routeBy + ' ' + '<strong>' + gLoggedInfo.creatorname + '</strong>';
-        }
+                        styleMap:   styleMap.view,
+                        attribution: SyjStrings.geomAttribution };
 
         this.viewLayer = new OpenLayers.Layer.Vector("View Layer", layerOptions);
         this.map.addLayers([baseLayer, this.viewLayer]);