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
If you can investigate what happens when you get rid of those lines, and share some ideas about ways to fix it, that'll definitely help :) I don't say it's hard, just give a try ! It's just that reproducing someone errors and fixing code without immediate feedback is very time consumming :)
var popup = new L.popup({ minWidth: 400, closeButton: false, autoPanPaddingTopLeft: L.point(0, 50) });
layer = L.polyline(points, {color: color, weight: 5});
layer.bindPopup(popup);
layer.on('mouseover', function(e) {
this.setText(' ► ', {repeat: true, attributes: {fill: textColor.toHexString() }});
});
layer.on('mouseout', function(e) {
this.setText(null);
});
The popUp doesn't work anymore if this.setText is executed.
The text was updated successfully, but these errors were encountered: