ThinkGeo.com    |     Documentation    |     Premium Support

Point Label Position set with Line Shape

Hi,
Please refer attached sample application.
Form.zip (4.3 KB)

Image 1:

Image 2:

I got Point Text Style Best Placement. But i need Text also should be best fit with Line. Text location should automatically fit basing on the Line.

How can we achieve this. Please suggest me some ideas.

Thanks,
Riyaz

Hi Riyaz,

Because the label is based on your point shape, so it don’t related with the line shapes, we cannot find a property to make it works with the line shape.

I think you can set the XOffsetInPixel and YOffsetInPixel for label, instead of the BestPlacement property, for example you can set the label always in the upper-right of point shape and it should looks better.

Regards,

Ethan