I have a line in my map, who can i to know if the selection is a start or end of the line?
code of the line:
THANKSSSSSS!!!!!!!!!Code:Dim Line As MapPoint.Shape Dim olocation1, olocation2 As MapPoint.Location olocation1 = mapa.ActiveMap.GetLocation(iPushpin.pLatitud, iPushpin.pLongitud) olocation2 = mapa.ActiveMap.GetLocation(fPushpin.pLatitud, fPushpin.pLongitud) Line = mapa.ActiveMap.Shapes.AddLine(BeginLocation:=olocation1, EndLocation:=olocation2) Line.Line.Weight = 1 ' Pixel Line.Line.ForeColor = RGB(color, color, color)