This project has moved. For the latest updates, please go here.

Present Arc Object in Sharpmap

Mar 4, 2009 at 1:09 PM
Could you show me how to present an arc (of map infor) in Sharpmap. Currently I have some arc objects with following parameters:
+ StartPoint;
+ End Point;
+ Angles (A1, A2).

Using MapExtreme, I use geometry object "LegacyArc".


Mar 4, 2009 at 1:57 PM
Hi hoaxvn, unfortunately SharpMap does not have any inbuilt functionality for dealing with Bezier curves. You may be able to hack something together by converting your start and end point into screen coordinates and using a Gdi Graphics object(obtained from the Bitmap produced by map.GetMap()) to draw a curve.. hth jd
Mar 4, 2009 at 3:22 PM
Thanks for your answer.