ThinkGeo.com    |     Documentation    |     Premium Support

Text does not respect border width

Hi, added Text does not respect border width of a line.

See:
image

Adding a YOffsetInPixel of 4 fixes this one, however vertical ones still overlap:

image

Is there any way that I just didnt find yet to simply add label padding between the label and the line?

Thanks!

A quick workaround is to adjust both the X and Y offsets. Can you try setting XOffsetInPixel to 4 as well and see if that works?

We’re currently working on adding full StyleJSON support to our system, but it seems that the standard StyleJSON specification doesn’t include a property for this either.