diff --git a/WebContent/base/leaflet/L.LabelMarker.js b/WebContent/base/leaflet/L.LabelMarker.js index c32445fa9..eb3e89a26 100644 --- a/WebContent/base/leaflet/L.LabelMarker.js +++ b/WebContent/base/leaflet/L.LabelMarker.js @@ -38,6 +38,12 @@ L.LabelMarker = L.Marker.extend({ } }, + // add/change marker tooltip + setTitle: function ( title ) { + this.options.title = title; + this._icon.title = title; + }, + // actual icon changing routine _changeIcon: function () { var options = this.options,