makinacorpus / Leaflet.TextPath

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

Avoid cropping of text? #57

Open sweco-sekrsv opened 6 years ago

sweco-sekrsv commented 6 years ago

Is it possible or would it be possible to specify the text width to avoid cropping? I have quite short polylines and the text gets cropped to the lenght of the polyline. I would like to see the full text even if it not fits on the polyline.

Screenshot: 2017-09-21 10_37_20-index - fut3

RiqueF commented 4 years ago

Hi For anyone else who has this question. I solved my problem creating one more polyline, invisible, with enough length to don't crop the text.

clavijojuan commented 2 years ago

Is it possible or would it be possible to specify the text width to avoid cropping? I have quite short polylines and the text gets cropped to the lenght of the polyline. I would like to see the full text even if it not fits on the polyline.

Screenshot: 2017-09-21 10_37_20-index - fut3

Somebody knows how to fix this?