Google-maps – Show path on Google Maps

google mapsgps

I have several GPS coordinates and want to show them on the map connected with line. It must looks like this.

How can I open maps.google.com page and show this path?

Best Answer

I suggest you to use openlayers.The following link is the example how to draw a line in the map.Once read the openlayers documentation and see the examples. you will get the best solution for your problem.

http://openlayers.org/dev/examples/wfs-protocol.html