I could not find the answer, how to load dynamically on the map KML file using input file? Important is that this operations should be done only on client side without uploading to server whether it is possible using JavaScript? As a result JavaScript should extract only the coordinates and insert them into polyline but it is a matter of secondary.
My current concept: link
I found an interesting example, but here’s a copy/paste and api v2: link
Maybe to insert to polyline loaded kml this: link parser would be great?
You might want to try the File API in HTML 5. It now allows reading the content of a local file. Here’s a nice tutorial. Unfortunately some browsers don’t support it, but it’s the only way I know of outside of using flash or java. Once you have the KML file contents in Javascript, you can use the geoxml3 parser you referenced to parse the data and display on your map.