add tooltip with POI name to POI icons (#414)
This commit is contained in:
parent
5e14484302
commit
93af0656fa
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ BR.PoiMarkers = L.Control.extend({
|
|||
content += "<button id='remove-poi-marker' class='btn btn-secondary'><i class='fa fa-trash'></i></button>";
|
||||
|
||||
var self = this;
|
||||
var marker = L.marker(latlng, { icon: icon, draggable: true, name: name })
|
||||
var marker = L.marker(latlng, { icon: icon, draggable: true, name: name, title: name })
|
||||
.bindPopup(content)
|
||||
.on('dragend', function () {
|
||||
self.fire('update');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue