commit 3bd2ae25c5c900450eb72d01b6e0c0120edfedeb
parent a6dc4a31d9498dd633f860ad5576e33d87069ce6
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Sat, 28 Apr 2018 01:19:03 +0300
geolocation: added title for button #59
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/lib/leaflet.control.locate/index.js b/src/lib/leaflet.control.locate/index.js
@@ -125,6 +125,7 @@ const LocateControl = L.Control.extend({
);
this._stopContainerEvents();
const link = L.DomUtil.create('a', '', container);
+ link.title = 'Where am I?';
L.DomUtil.create('div', 'icon-position', link);
L.DomEvent.on(container, 'click', () => this._handleEvent(EVENT_BUTTON_CLICK));
this._marker = new PositionMarker();