line draw on map-view ?

i have to draw line on mapView ?

myMap:addMarker( event.latitude, event.longitude)

this is only indicate the point but i wants to replace this point to on line.