Skip to content

[Fix] Correct context for redraw in L.SimpleGraticule#17

Open
skyksl066 wants to merge 1 commit into
ablakey:masterfrom
skyksl066:fix
Open

[Fix] Correct context for redraw in L.SimpleGraticule#17
skyksl066 wants to merge 1 commit into
ablakey:masterfrom
skyksl066:fix

Conversation

@skyksl066
Copy link
Copy Markdown

This pull request includes a minor fix to the L.SimpleGraticule class in L.SimpleGraticule.js. The change ensures that the onRemove method correctly references the redraw function when removing the event listener.

  • L.SimpleGraticule.js: Updated the onRemove method to pass the correct redraw function and this context when calling map.off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant