Layer: refactor openPopup/openTooltip: use common function#6613
Layer: refactor openPopup/openTooltip: use common function#6613cherniavskii merged 2 commits intoLeaflet:masterfrom
Conversation
|
Perhaps better name function differently, like |
mourner
left a comment
There was a problem hiding this comment.
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. |
Layer: refactoropenPopup/openTooltip: use common functionDivOverlay._openOverlay.This change is