Skip to main content
Question

Leader line in MapTextLabeller

  • November 21, 2013
  • 1 reply
  • 17 views

A label that is configured to be placed at the end of a line does not fit and is therefore placed with a leader line. The problem is that the leader line points at the middle of the line, not the end of the line.

 

Is it possible to configure the leader line to point at the end (or start) of the line that is labeled?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • November 21, 2013
You could have a go at using the AnchoredSnapper in End Point Snapper mode to try to snap your leader lines to the ends of the lines. That should work. If the lines you are snapping to though are short you may have problems snapping to the wrong end. In that case you may need to use the CoordinateExtractor to get the start x,y of the line (0) and the end (-1) use the 2DPointCreator to create points and then perhaps use the NeightbourFinder to spot the nearest end to then snap to.