Skip to content

Conversation

@sangaline
Copy link

When the map component unmounts, it is possible for the redraw() method to be called when there is no longer a map element. For example:

image

This PR is a trivial change that checks for map._mapPane existing before calling map._getMapPanePos() which triggers the unhandled exception.

Both the src/ and lib/ versions have been updated, the patch version has been bumped, linting passes except for in the example/ directory where it was already failing, the code is tested and working, and I certify that the terms set out under "Developer's Certificate of Origin 1.1" are met by this contribution.

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