Page 1 of 1

Issue in polygon name display

Posted: Sat Jun 23, 2018 10:00 am
by 16683749
Hi,

We are facing an issue in polygon name display as shown in snap shot attached. The issue is that when the size of polygon is small then polygon name does not appear, however when we zoom in or the polygon is bigger in size, the polygon name appears.

Thanks & regards,
Bhanu
PolygonNameIssue.PNG
PolygonNameIssue.PNG (44.21 KiB) Viewed 16983 times

Re: Issue in polygon name display

Posted: Mon Jun 25, 2018 8:15 am
by yeray
Hello,

What series type are you using to draw these polygons?

Re: Issue in polygon name display

Posted: Mon Jun 25, 2018 12:49 pm
by 16683749
Hi Yeray,

Thanks for your reply. We are currently using map series for polygon drawing.

Thanks & regards,
Bhanu.

Re: Issue in polygon name display

Posted: Wed Jun 27, 2018 8:47 am
by yeray
Hello,

By default, the TMapSeries has "MapMarks.AutoSize" property set to "True". This changes the font size trying to fit the text in the shape bounds, with a minimum size of 5.
If you set the "MapMarks.AutoSize" property to "False", the "Marks.Font.Size" will be respected and the marks will be shown if they fit in the shape bounds.
If you want to draw the the marks out of the shape bounds, you can draw the text manually at OnAfterDraw event.