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();
});
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?