You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I played around with semicircles and I like it a lot.
One issue I noticed though are the popups. While popups on a click work fine, mouse over popup only work for full circles.
If the circle is anything but 360 degrees, the only place where the pop up shows when using mouseover is the center of the circle.
"Mouseover" behaves as expected. "Mouseout" seems to be the troublemaker.
Anyone has an idea of what's going on?
// After setting up a semicircle marker, here is the mouseover activation
marker.on('mouseover', function (e) {
this.openPopup();
});
marker.on('mouseout', function (e) {
this.closePopup();
});
The text was updated successfully, but these errors were encountered:
I played around with semicircles and I like it a lot.
One issue I noticed though are the popups. While popups on a click work fine, mouse over popup only work for full circles.
If the circle is anything but 360 degrees, the only place where the pop up shows when using mouseover is the center of the circle.
"Mouseover" behaves as expected. "Mouseout" seems to be the troublemaker.
Anyone has an idea of what's going on?
The text was updated successfully, but these errors were encountered: