Skip to content
Browse files

bugfix, so that markers will use correct mousepointer again

  • Loading branch information...
1 parent 060c7e4 commit 0f032f7635e3af177f7d82d75abebf245ab62822 @DennisSchiefer DennisSchiefer committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 WebContent/L.MouseMarker.js
View
3 WebContent/L.MouseMarker.js
@@ -39,7 +39,8 @@ L.MouseMarker = L.Marker.extend({
if (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;

0 comments on commit 0f032f7

Please sign in to comment.
Something went wrong with that request. Please try again.