Skip to content

Commit

Permalink
added refresh logic to spotlightHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
iboates committed Mar 6, 2019
1 parent 3f081a4 commit 42a9f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/leaflet-spotlight-extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ L.SpotlightHandler = L.Handler.extend({
L.DomEvent.off(document, 'mousemove', this._doSomething, this);
},

_doSomething: function(ev) {
_refreshSpotlights: function(ev) {

// Create a mousemove event listener for this spotlight
for (var spotlightId in this._map._spotlightRegistry) {
Expand Down

0 comments on commit 42a9f44

Please sign in to comment.