hey guys new to all the web programming i have got a little task and have no idea where to start could someone help me please. well i have to draw a line between to different coordinates which are going on google maps so for example :
<Placemark>
<name>mark zero</name>
<description>start location </description>
<longitude>-0.122920</longitude>
<latitude>51.472133</latitude>
</Placemark>
the above coordinates are in xml format which, i later call in Java script functions and display them on the map as a simple pointers what i need is from one point of coordinates to another point of coordinates Java script would draw a line which would represent the direction from one coordinate to other .
i hope you understand what i mean thank you