I figured out the issue for some labels of roads shown up at different scales, is related to TextStyle.TextLineSegmentRatio.
However, could not find any doc on it?
for multi-line, the ratio is label length to each line segment or the whole line? if it is to the line segment, data can affect labels on map.
What is the default value?
what is good for highway?
what is good for all roads?
Thanks,
Guideline on using TextLineSegmentRatio for roads?
Hi Guangming,
If the label width bigger than the width (the target segment in line) multiplied by textLineSegmentRatio, it won’t shows.
If you don’t want to use this property, you can set it to a very big number.
Regards,
Don
could you answer my many other questions as well?
Hi Guangming,
Sorry I think we don’t have related documentation for textLineSegmentRatio.
For multi-line, the ratio is max length to in all line segments.
What is the default value? Default value equal 0.9.
what is good for highway? Just follow your requirement.
what is good for all roads? I think our 0.9 should be work for most scenario.
Regards,
Don