bugfix, so that markers will use correct mousepointer again

This commit is contained in:
DennisSchiefer 2012-04-04 15:40:16 +02:00
parent 060c7e499a
commit 0f032f7635

View File

@ -39,7 +39,8 @@ L.MouseMarker = L.Marker.extend({
if (this._icon) { if (this._icon) {
this._icon = options.icon.switchIcon( this._icon ); this._icon = options.icon.switchIcon( this._icon );
this._icon.title = options.title; if (this.options.clickable) // TODO: only needed until Leaflet 0.4
this._icon.className += ' leaflet-clickable';
} }
var panes = this._map._panes; var panes = this._map._panes;