How can i show driving directions?

Topics: SharpMap v0.9 / v1.x
Oct 25, 2010 at 7:08 AM

hi dears,

i want to show driving directions or traffic directions  for streets in the map of city .(source of the map is shape file)

how can i do it? help me please.

thanks,

shahin

Coordinator
Oct 25, 2010 at 9:55 AM

Hello shahin_sharin,

you would have to create a custom theme.

if your linestring is a one way you can set CustomStart- and CustomEndCap for the pen you draw it with.
(see http://msdn.microsoft.com/de-de/library/system.drawing.drawing2d.customlinecap%28v=VS.80%29.aspx)

It draws which ever figure you want at the start/end of your line string.

Hth FObermaier