Create a KML Mapplet

Customize KML + Details

Enter URL of KML file (on public server):

Title of KML file:

Author name:

Author email:

Description:

Enter URL of thumbnail:

Enter URL of screenshot:


Copy XML to Server

This is the generated XML that will work as both a Mapplet and an iGoogle Gadget. Upload this XML to your server (or a Google Pages account) and submit it to the Mapplets directory.

<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="" height="200" screenshot="" thumbnail="" author="" author_email="" description="">
    <Require feature="geofeed"/>
  </ModulePrefs>
  <UserPref name="_mpl_type" datatype="hidden" default_value="gf"></UserPref>
  <UserPref name="_mpl_data" datatype="hidden" default_value=""></UserPref>
  <Content>
  <![CDATA[
  <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAFNQS_3MQBgizoKtjzOCl9xTZqGWfQErE9pT-IucjscazSdFnjBTtN5WdcLz6wertAJ3co4-F5rYKJw" type="text/javascript"></script>
  <div id="geofeed_map" style="width: 100%; height: 200;"></div>
  <script>
  _IG_RegisterOnloadHandler(function () {
    var map = new GMap2(document.getElementById("geofeed_map"));
    map.setCenter(new GLatLng(0,0), 1);
    map.enableDoubleClickZoom();
    map.enableContinuousZoom();
    map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());
    var geoXml = new GGeoXml("");
    map.addOverlay(geoXml);
    geoXml.gotoDefaultViewport(map);});
  </script>
  ]]>
  </Content>
</Module>