ThinkGeo.com    |     Documentation    |     Premium Support

Text cut on the map

Hello,

The element text is being cut off in the map view. How do I change the width of the displayed text?

Thank you

Hi Danilo,

I found a topic which should solve your problem, set layer.DrawingMarginPercentage = 50;

As below is the detail topic: Labels & Point Symbols being Cut Off at Tile Edges

And you can also search this on our forum, if this don’t works for you please let me know.

Regards,

Ethan

Hi Ethan,

This property does not exist for the Android Map Suite. There is a “DrawingMarginInPixel”. Do you know if the operation is similar? I tested it and apparently did not work.

Thank you

Hi Danilo,

It looks the DrawingMarginInPixel is similar with DrawingMarginPercentage.

But its default value is 50, so I think you can try bigger value, for example if your tile size is 256 x 256, you set 256 means it will draw double 512 x 512.

Please let me know your test value and whether it works.

And I am not sure your scenario, if your overlay support switch between single tile and multiply tile mode, you can try to set single mode, which should works for it.

Regards,

Ethan

1 Like

Thank you, Ethan. It worked!
I tested it with 256 and got it right.

Hi Danilo,

I am glad to hear that’s helpful.

Regards,

Ethan