-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work within a <Pane/> element with name
parameter set
#52
Comments
Can you please share a codesandbox which replicates this issue? It will help me more easily understand and debug it. Here's a template that may help: https://codesandbox.io/s/react-leaflet-textpath-hps8j |
Here you go: https://codesandbox.io/s/react-leaflet-textpath-forked-ku7q4?file=/src/index.js:489-507 It seems like its not |
name
parameter set
Thanks for the very useful codesandbox! I've done some investigation and it unfortunately looks to be an issue with the underlying Leaflet.TextPath library not supporting Panes. The library is fairly old and not seen active development for a while so is unlikely to be fixed there anytime soon. Here are some issues I found relating to this problem in their repo: makinacorpus/Leaflet.TextPath#83 |
I see, that's a shame. Thanks for looking into it. |
The element throws an error when placed a element (but not when directly as a child to )
See below for error:
The text was updated successfully, but these errors were encountered: