How to draw line

I am working on OSM. Now problem is that I want to draw line on the map which show vehicle route line.
Plz help me how is it posible. Tell me the function to draw route line.

See your other topic:

Sanjiv Kumar: These questions are pure OpenLayers questions. The folks over at OpenLayers are far better cable of helping you then the folks on this forum.

Specifically, look at the Examples on the OpenLayers website. Every question you’ve asked so far is covered by one of those examples. Yes, you need to work some things out yourself. I know it’s hard but that’s life.

Topic closed.