X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=923e93dc2b1896cf553ac428484978471065edf0;hb=57031d71f1af8fbca504b7f09352a3fb1455d602;hp=9114646b43aed316cfdc3970f97270f1307ac614;hpb=6d905e78e82c1cdc834119b20cbb286828d6a083;p=syj.git diff --git a/public/js/syj.js b/public/js/syj.js index 9114646..923e93d 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -227,10 +227,8 @@ var SYJView = { layerOptions = {format: OpenLayers.Format.WKT, projection: WGS84, - styleMap: styleMap.view}; - if (gLoggedInfo.creatorname) { - layerOptions.attribution = SyjStrings.routeBy + ' ' + '' + gLoggedInfo.creatorname + ''; - } + styleMap: styleMap.view, + attribution: SyjStrings.geomAttribution }; this.viewLayer = new OpenLayers.Layer.Vector("View Layer", layerOptions); this.map.addLayers([baseLayer, this.viewLayer]);