makinacorpus / Leaflet.TextPath

Show text along Polyline with Leaflet
https://makinacorpus.github.io/Leaflet.TextPath/
MIT License
285 stars 112 forks source link

Cannot read property '_renderer' of null #69

Open JamesHearts opened 6 years ago

JamesHearts commented 6 years ago

When removing a layer from the map and re-adding it. The _map property becomes "null" and setText no longer works. Not sure if this is a core Leaflet problem or TextPath problem.

ivanmatiaspascual commented 5 years ago

I'm sorry for duplicate the comments.

jayli3n commented 1 year ago

This issue should be addressed in this PR https://github.com/makinacorpus/Leaflet.TextPath/pull/94