alkingson 0 Report post Posted July 30, 2008 Why this doesnt draw a line on a map? AnnotationArrow arrow = new AnnotationArrow(); //arrow.Color = System.Drawing.Color.AntiqueWhite;arrow.Height = 10; arrow.Width = 0;arrow.Border.Color = System.Drawing.Color.Red; arrow.Attach(20, 10);arrow.Visible = true; arrow.Link.Url = "Default.aspx?Server=Europe1";Map1.AnnotationObjectsList.Add(arrow); Quote Share this post Link to post Share on other sites
Frank 0 Report post Posted July 30, 2008 arrow.Attach(20, 10); Won't work on maps because the Map doesn't have logical X and Y axes. You need to specify a pixel location instead by setting Left and Top. Quote Share this post Link to post Share on other sites
alkingson 0 Report post Posted July 30, 2008 Thanks for the help. It worked. One more quesiton how do i draw arrow from one postion to another at particular angle. Left and Top will only set the the place the arrow start from. But how to i specify the end and angle of it. Quote Share this post Link to post Share on other sites