From 0f032f7635e3af177f7d82d75abebf245ab62822 Mon Sep 17 00:00:00 2001 From: DennisSchiefer Date: Wed, 4 Apr 2012 15:40:16 +0200 Subject: [PATCH] bugfix, so that markers will use correct mousepointer again --- WebContent/L.MouseMarker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/L.MouseMarker.js b/WebContent/L.MouseMarker.js index b19d96861..f15c79b19 100644 --- a/WebContent/L.MouseMarker.js +++ b/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;