> I get the access denied when I open the map.html from a local
> directory (not off my webserver)...

Okay.  Cross-domain restrictions still apply.

> one KML is here:
> http://scgrant327.dyndns.org:8000/pages/1297604666.kml

That isn't a KML file.  It starts with a bit of javascript,
    function loadKml(url) {
      map.clearOverlays(); ...
then it has some tag content that looks like KML, but won't get
treated as KML because it is outside of the declaration,
    <Placemark>
      <name>Hello, Earth API!</name> ....
then the KML proper starts at
   <?xml version="1.0" encoding="UTF-8"?>
   <kml xmlns="http://www.opengis.net/kml/2.2";>
   <Style id= ....

You need to get rid of the junk at the front and have the <?xml ...>
part as the very first line

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to