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
I'd like for one of my labels to be nearer the end of the segment, but it doesn't look like labelPosition allows a callback function like the labelStyle does. I could create a PR for this?
Does anyone know a workaround?
The text was updated successfully, but these errors were encountered:
Hi @mledwards, thanks for writing! Yes, I assume we could give it a try.
Would you like to open a PR to make labelPosition accept both a value and a callback function? Callback functions should be implemented with existing the functionProp utility.
Last but not least, docs and tests should be updated, too ✌️
I'd like for one of my labels to be nearer the end of the segment, but it doesn't look like
labelPosition
allows a callback function like thelabelStyle
does. I could create a PR for this?Does anyone know a workaround?
The text was updated successfully, but these errors were encountered: