On Jul 28, 8:57 am, William <[email protected]> wrote:
> http://code.google.com/apis/kml/documentation/kml_tut.html#kml_server
>
> in Firebug the Content-Type is reported differently for the two files:
>
> text/xml
> http://myfarms.org/test/upload_from_db.php
>
> application/vnd.google-earth.kml+xml
> http://myfarms.org/test/tenn2.kml
>
I forgot to say in PHP you can set the MIME type as follows:
header("Content-Type: application/vnd.google-earth.kml
+xml;charset=UTF-8");
...
--
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.