How you can draw a line on Google Maps through KML?
You can load KML (with points, lines, polygons, etc.) either
directly on Google Maps website or via the Google Maps API.
Google Maps supports KML via the Google Maps API. See related
links below for details.
The classic Google Maps interface supports KML via the search
query. Just enter a URL to a KML file in search box and Google Maps
will load the KML and render on the map, but this only works in the
classic Google Maps interface.