Make attribution less cheesy.
This commit is contained in:
parent
f5c9a41e87
commit
b82c10bcd1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.TMS, {
|
|||
* options - {Object} Hashtable of extra options to tag onto the layer
|
||||
*/
|
||||
initialize: function(name, url, options) {
|
||||
options = OpenLayers.Util.extend(options, { attribution: "Powered by <a href='http://openstreetmap.org/'>OpenStreetMap</a>" });
|
||||
options = OpenLayers.Util.extend(options, { attribution: "Data by <a href='http://openstreetmap.org/'>OpenStreetMap</a>" });
|
||||
OpenLayers.Layer.TMS.prototype.initialize.apply(this, arguments);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue