Changing line weight via setStyle() blows out
vpithart opened this issue · comments
Vojtech Pithart commented
With leaflet v1.7.1 and Leaflet.curve 1.0.0, calling setStyle to change line weight blows out.
Reproducible in this codepen.
Uncaught TypeError: this._updateBounds is not a function
setStyle Path.js:109
This is where the error occurs.
Vojtech Pithart commented
I'm sorry, wrong repository. This bug belongs to the forked https://github.com/onikiienko/Leaflet.curve.
(that one is a default you get via npm install leaflet-curve
).
elfalem commented
Yeah that's an old fork which I don't think is maintained. I recommend using the package @elfalem/leaflet-curve
instead.