make Leaflet mention in attribution much less obtrusive
This commit is contained in:
parent
684fd7c12f
commit
879b9f987b
@ -5,7 +5,7 @@
|
||||
L.Control.Attribution = L.Control.extend({
|
||||
options: {
|
||||
position: 'bottomright',
|
||||
prefix: 'Powered by <a href="http://leafletjs.com">Leaflet</a>'
|
||||
prefix: '<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
@ -82,7 +82,7 @@ L.Control.Attribution = L.Control.extend({
|
||||
prefixAndAttribs.push(attribs.join(', '));
|
||||
}
|
||||
|
||||
this._container.innerHTML = prefixAndAttribs.join(' — ');
|
||||
this._container.innerHTML = prefixAndAttribs.join(' | ');
|
||||
},
|
||||
|
||||
_onLayerAdd: function (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user