switch attributions to ODbL

This commit is contained in:
Sarah Hoffmann
2012-09-12 19:14:28 +02:00
parent 1c75adb39f
commit 6b65b9086b
8 changed files with 10 additions and 8 deletions

View File

@@ -295,7 +295,8 @@ form{
"moveend": mapEventMove
}
} );
map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default"));
map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default",
{ attribution : '© <a target="_parent" href="http://www.openstreetmap.org">OpenStreetMap</a> and contributors, under an <a target="_parent" href="http://www.openstreetmap.org/copyright">open license</a>'}));
var layer_style = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']);
layer_style.fillOpacity = 0.2;