danzel / Leaflet.utfgrid

A UTFGrid implementation for leaflet that is super small.
MIT License
132 stars 51 forks source link

Added mousemove event to allow label to follow cursor #6

Closed turban closed 11 years ago

turban commented 11 years ago

I've added a mousemove event to allow hover labels to follow the cursor. Now, events are only fired when the cursour is entering/leaving an area. The new mousemove event will be fired when the user is moving the cursor within an area, allowing an update to the label position.

label

danzel commented 11 years ago

Awesome stuff, thanks :-)