You are right...forgot I had not deleted that file. Was using it as a storage place to temp data...
Here is a 'good' one: http://scgrant327.dyndns.org:8000/pages/1297536275.kml But, I need to update some things tonight. Will repost tomorrow if I still see the errors... On Thu, Feb 17, 2011 at 1:20 PM, Rossko <[email protected]> wrote: >> 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. > > -- 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.
