Skip to content

Commit 241cf22

Browse files
committed
Update attribution
1 parent 7ed9d27 commit 241cf22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mapml/control/AttributionButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export var AttributionButton = L.Control.extend({
22
options: {
33
position: 'bottomright',
4-
prefix: '<a href="https://www.w3.org/community/maps4html/" title="W3C Maps for HTML Community Group">Maps4HTML</a> <span aria-hidden="true">|</span> <a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'
4+
prefix: '<a href="https://www.w3.org/community/maps4html/">Maps for HTML Community Group</a> <span aria-hidden="true">|</span> <a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'
55
},
66

77
initialize: function (options) {

src/mapml/layers/MapLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ export var MapMLLayer = L.Layer.extend({
11201120
if (licenseLink) {
11211121
licenseTitle = licenseLink.getAttribute('title');
11221122
licenseUrl = licenseLink.getAttribute('href');
1123-
attText = '<a href="' + licenseUrl + '" title="'+licenseTitle+'">'+licenseTitle+'</a>';
1123+
attText = '<a href="' + licenseUrl + '">'+licenseTitle+'</a>';
11241124
}
11251125
L.setOptions(layer,{attribution:attText});
11261126
var legendLink = xml.querySelector('map-link[rel=legend]');

0 commit comments

Comments
 (0)