ThinkGeo.com    |     Documentation    |     Premium Support

How can we apply LeaderLineStyle

Hi,
How can we apply LeaderLineStyle in desktop editon (9.X version).

just look at that image, i want to display a message(TextStyle) with leader line format. Is it possible to do it.

Please suggest it.

Thanks,
Riyaz

Hi Riyaz,

If the leader line is just like you shown in the image, I think you should want to build custom style for that.

We don’t have sample for it, but you can do something follow this thinking:

  1. In DrawCore of CustomTextStyle, build a image and draw your text follow the standard format on it. Then draw the image on canvas, you should set the offset value by your setting.

  2. Draw the line between the image and your feature location,

Wish that’s helpful.

Regards,

Don