Add Attribution control to the map by default. (No visual affect if no
layers have 'attribution' set.) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4334 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -341,7 +341,8 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
if (OpenLayers.Control != null) { // running full or lite?
|
||||
this.controls = [ new OpenLayers.Control.Navigation(),
|
||||
new OpenLayers.Control.PanZoom(),
|
||||
new OpenLayers.Control.ArgParser()
|
||||
new OpenLayers.Control.ArgParser(),
|
||||
new OpenLayers.Control.Attribution()
|
||||
];
|
||||
} else {
|
||||
this.controls = [];
|
||||
|
||||
Reference in New Issue
Block a user