Hi Jake-

Please link to the mapplet for us to check out. Thanks!


On Sun, Oct 5, 2008 at 3:10 PM, jakemiles <[EMAIL PROTECTED]> wrote:
>
> Hello.  Please help, I have a deadline tonight.  I'm trying to overlay
> the sample KML that Google includes in their tutorial, onto a mapplet
> (not just the maps api, a mapplet), and it doesn't show up.  This is
> the code:
>
>  var kml = new GGeoXml(kmlUrl);
>  document.getElementById("message").innerHTML = 'got kml ' +
> kml.toString();
>  map.addOverlay(kml);
>
> I've confirmed that kmlUrl returns the xml file correctly, and that
> the 'got kml' line is output.  So the call to addOverlay is failing.
> In Firebug, the kml object is just listed as "Object" with no
> opportunity to view its properties.
>
> This is the kml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://www.opengis.net/kml/2.2";>
>  <Placemark>
>    <name>Simple placemark</name>
>    <description>Attached to the ground. Intelligently places itself
>       at the height of the underlying terrain.</description>
>    <Point>
>      <coordinates>40.74595644996025, -73.97922992706299</coordinates>
>    </Point>
>  </Placemark>
> </kml>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to