S
Stefano Peduzzi
Hi,
I've to return an XML (a KML for Google Earth) from my Web Server. How can I
do it with ASP.NET 2.0???
These are the requirements for a "KML Server" as stated by Google:
KML Server requirements
When responding to a request from the Google Earth client, a KML server must
follow a certain set of rules so that the client can correctly interpret
responses.
Upon success, the server must return a response code of HTTP 200 and set the
response's content-type to a suitable MIME type.
Google Earth reads KML and KMZ files, and the MIME types for these are:
application/vnd.google-earth.kml+xml kml
application/vnd.google-earth.kmz kmz
The body of the response must contain valid KML data, including the xml
declaration header (<?xml version="1.0" encoding="UTF-8"?>). If the server
returns invalid KML, the Network Link will stop deactivate and output an
error message.
Thanks,
Stefano
I've to return an XML (a KML for Google Earth) from my Web Server. How can I
do it with ASP.NET 2.0???
These are the requirements for a "KML Server" as stated by Google:
KML Server requirements
When responding to a request from the Google Earth client, a KML server must
follow a certain set of rules so that the client can correctly interpret
responses.
Upon success, the server must return a response code of HTTP 200 and set the
response's content-type to a suitable MIME type.
Google Earth reads KML and KMZ files, and the MIME types for these are:
application/vnd.google-earth.kml+xml kml
application/vnd.google-earth.kmz kmz
The body of the response must contain valid KML data, including the xml
declaration header (<?xml version="1.0" encoding="UTF-8"?>). If the server
returns invalid KML, the Network Link will stop deactivate and output an
error message.
Thanks,
Stefano