I have made a copy of the Google Maps KML layer example showing
markers from an external KML source.
I created a PHP script to read data from a database and transform them
to KML.

On my development web-server (Win7 IIS7) I could not get the KML to
work (also could not directly access it).
I then added the correct MIME type for .kml (application/vnd.google-
earth.kml+xml).
Then I could directly access the generated KML file.

But the Google Maps example did not work when getting my KML file on
my local dev machine.

The strange thing is - it works fine when I put the KML PHP script on
my web-server (linux), but it does not work on my local machine
(IIS7). So I can only think that IIS is doing something wrong? The
downloaded KML files look the same though.

Here is the link to the public one that works: 
http://nikolajp.dk/ITU/Apollo/kmltest.htm

When trying on my development IIS I get a grey screen - as mentioned I
can access the KML file directly.
I also tried using a local web.config file to configure the .kml MIME
type, but the result was the same.

Anybody has an idea as to what IIS7 is doing wrong? Or perhaps my
local PHP install?

-- 
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