-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layer: refactor openPopup/openTooltip: use common function #6613
Layer: refactor openPopup/openTooltip: use common function #6613
Conversation
Perhaps better name function differently, like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Re naming, maybe _updateOverlay
would reflect what the code is doing best?
There are already several methods prefixed with Besides, I do not feel that So may be |
|
without getLatLng function
e224d83
to
7debbc9
Compare
Ok, PR updated. I've added one more commit, please check if it's acceptable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Layer
: refactoropenPopup
/openTooltip
: use common functionDivOverlay._openOverlay
.This change is