X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=923e93dc2b1896cf553ac428484978471065edf0;hp=9114646b43aed316cfdc3970f97270f1307ac614;hb=26afcb880ff75743abcb627ecf516b6c51a36d08;hpb=ec7db76528badd24d3b1332736c5a6f71d2a0986 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]);