How to draw line on an osm map
<p>Thanks in advance...</p>

<p>I have an OSM Map and I have got updated latitude and longitude as I am moving on the way, after every 10 seconds. I want to draw a route line on the map as the user moves away.
i.e. I want to connect all the pairs of lat-lon.</p>
