Display distance between points

Topics: Windows Forms
Mar 22, 2012 at 6:17 PM


I would like to display the distance between each pair of points on a route.

Is it posible to display a tooltip or similar over  each route lines?


Mar 22, 2012 at 6:32 PM

add marker on that point and set the tooltip

Mar 22, 2012 at 6:59 PM

I would like to display the text in the middle of the line as a tooltip, do you have any advice?

The only possible solution I thought about is to calculate the middle point of the line, and add a custom marker displaying the distance on the tooltip.

Do you have a better idea?