Skip to content

Commit 77e87f5

Browse files
committed
add 'mousemove' event to the example
1 parent e14687d commit 77e87f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In your project, drop `rrose-src.js` alongside `leaflet-src.js`, `leaflet.rrose.
1313
...
1414

1515
onEachFeature: function(feature,layer){
16-
layer.on('mouseover', function(e){
16+
layer.on('mouseover mousemove', function(e){
1717
var hover_bubble = new L.Rrose({ offset: new L.Point(0,-10), closeButton: false, autoPan: false })
1818
.setContent(feature.properties.name)
1919
.setLatLng(e.latlng)

0 commit comments

Comments
 (0)