From 940c0e8ca2675b1216c5ac36a85ab163494d7f2b Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Fri, 20 Jul 2012 16:18:28 +0200 Subject: [PATCH] Adding missing attribution for OSM --- examples/fullScreen.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/fullScreen.js b/examples/fullScreen.js index dc8ed19d1a..754cabfadd 100644 --- a/examples/fullScreen.js +++ b/examples/fullScreen.js @@ -8,10 +8,12 @@ var map = new OpenLayers.Map({ div: "map", layers: [ new OpenLayers.Layer.XYZ("OSM (with buffer)", urls, { - transitionEffect: "resize", buffer: 2, sphericalMercator: true + transitionEffect: "resize", buffer: 2, sphericalMercator: true, + attribution: "Data CC-By-SA by OpenStreetMap" }), new OpenLayers.Layer.XYZ("OSM (without buffer)", urls, { - transitionEffect: "resize", buffer: 0, sphericalMercator: true + transitionEffect: "resize", buffer: 0, sphericalMercator: true, + attribution: "Data CC-By-SA by OpenStreetMap" }) ], controls: [