Fake KML Embed Gadget maker...

This page is an attempt to replicate the functionality of the real KML Embed Gadget provided by Google, which is currentl offline. As it was Open-Source, was able to steal the code, and package it up in a basic container - enough to make it functional. Based on this XML file.

The iframe generated by this tool, comes with absolutely NO warranty, Google could discontinue, or break the Google Earth API and/or Google Maps API v3, that this relies on - at any time. This feature is in no way endorsed by Google Inc.

... in fact (as of Dec 2015) Google HAVE discontinued the Google Earth API. The 3D version no longer works. See their blog post about it.
Can still use the 2D (Google Maps API) version. (if have an existing gadget, change view_mode=earth to view_mode=maps in the iframe url)

There is also a Fake KML Tour Gadget Maker.

  1. Fill out the form below, with your options. And click the submit button.
  2. A new page should appear, either a 3D globe or a 2D map with your content. CHECK IT WORKS!
  3. If happy how it looks, copy the page URL
  4. On your site, embed in an iframe. eg <iframe src="http://...." height="400" width="500"></iframe>
  5. NOTE: You can also take a copy of, and host on your own server. Avoids relying on my server!
  6. There is an example available showing a page with the iframe embedded.
kml_urlKML or My Maps URL
view_modeView mode
latOptional - Center Latitude (leave blank to center on KML file)
lngOptional - Center Longitude (leave blank to center on KML file)
zoomMaps zoom level - Optional
earth_2d_fallback3D - Fall back to 2D on error
True   ·   False
earth_fly_from_space3D - Fly in from space
True   ·   False
earth_show_nav_controls3D - Show navigation controls
True   ·   False
earth_show_buildings3D - Show buildings
True   ·   False
earth_show_terrain3D - Show 3D terrain
True   ·   False
earth_show_roads3D - Show roads
True   ·   False
earth_show_borders3D - Show borders and labels
True   ·   False
earth_sphere3D - Sphere
maps_streetview2D - Enable Streetview
True   ·   False
maps_zoom_out2D - Zoom out on load
True   ·   False
maps_default_type2D - Default Map Type
In theory if have a old gadget, want to update, could just take the code like
<script src="//;up_kml_url=&amp;up_tour_index=1&amp;up_tour_autoplay=0&amp;up_show_navcontrols=0&amp;up_show_buildings=0&amp;up_show_terrain=1&amp;up_show_roads=0&amp;up_show_borders=0&amp;up_sphere=earth&amp;synd=open&amp;w=500&amp;h=400&amp;title=Embedded+Tour+Player &amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>
<script src="//"></script>
and replace it with
<iframe src="" height="400" width="500"></iframe>
ie the paramaters are the same.