[GIS] How to embed a KML map using the “new” Google Maps

embeddable-web-mapsgoogle mapsgoogle-maps-apikml

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding.

To generate the an "old" embedding, all I need to do is click on the link icon on the page for my KML, which generates an iframe I can use for embedding:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/?q=http:%2F%2Fshare.abvio.com%2F9d18%2Fde58%2F4d38%2Fa340%2FCyclemeter-Cycle-20140629-0905.kml&amp;ie=UTF8&amp;t=m&amp;ll=42.429738,-71.31901&amp;spn=0.135997,0.21338&amp;output=embed"></iframe>

But this is an "old style" embedding, and I would like to generate a "new style" one from the same KML. Is there a simple mapping from one to the other or from my KML URL directly to the form of the "new iframe?

Best Answer

I am not sure how to embedd the map, but I merely put some kml in a public folder on google drive and it works: https://drive.google.com/file/d/0Bx17tEcqrzavQUtzQzVqLTlkTVk/view