Tweak link button
This commit is contained in:
parent
5318d4a68b
commit
55bec9806f
@ -36,9 +36,9 @@ export class LinkControl extends Control {
|
|||||||
const linkButton = DomUtil.create('button', 'leaflet-control-link') as HTMLButtonElement;
|
const linkButton = DomUtil.create('button', 'leaflet-control-link') as HTMLButtonElement;
|
||||||
|
|
||||||
linkButton.type = 'button';
|
linkButton.type = 'button';
|
||||||
linkButton.title = 'Link';
|
linkButton.title = 'Copy link to current location';
|
||||||
linkButton.innerHTML = `
|
linkButton.innerHTML = `
|
||||||
<svg class="svg-icon" viewBox="${linkIcon.viewBox}">
|
<svg class="svg-icon" viewBox="${linkIcon.viewBox}" aria-hidden="true">
|
||||||
<use xlink:href="${linkIcon.url}" />
|
<use xlink:href="${linkIcon.url}" />
|
||||||
</svg>`;
|
</svg>`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user