1.  
    Hi:

    Is somebody there to help me out for above. Some sample codes would be greatly appreciated

    Thanks
    •  
      CommentAuthorPepitaL
    • CommentTimeJan 25th 2010
     
    Have you looked at the "Renderer Walk-Through" in the GeoBase documentation? It shows how to add a point to the map, but the concept is the same, since it allows you how to ensure drawing you've done stays with the map as it moves.
  2.  
    Thanks a lot !

    I tried renderlist and reached somewhere, but still I am not able to draw the line unless there is street data available. Below is the sample code. Actually I dont need street data as my plan is to draw flight routes, basically from one waypoint to another.

    I have seen some class for Line and LineString, Could you please give me some samples on how to use the same...

    ***********
    RouteStop[] myRoute = new RouteStop[]
    {
    new RouteStop(new LatLon(8,77)),
    new RouteStop (new LatLon(55,77))
    };
    Route Route1 = new Route(myRoute[0], myRoute[1]);
    //Directions myDirection = Route1.GetDirections();
    //myDirection.RenderColor = Color.Green;
    RendererList renderer = new RendererList();
    myRoute[0].RenderBrush = new SolidBrush(Color.Green);
    myRoute[1].RenderBrush = new SolidBrush(Color.Beige);
    mapCtrl1.Renderer = renderer;
    renderer.AddRange(myRoute);
    //renderer.Add(myDirection);
    mapCtrl1.Invalidate();

    ******

    Thanks!
  3.  
    Thanks a lot Will !

    That worked out...
    It is,
    s.RenderPen = new Pen(Color.Red, 5);

    Rgds,
    Lino