Issue:
Currently Google Maps does not provide a User-Agent string when it
accesses kml content over the network.

Example:
http://maps.google.com/?q=http://www.noexpectations.com.au/galleries/pattaya-thailand-april-2008.kml

>From Google Maps on my web server log (showing no user-agent string):

66.249.85.87 - - [13/Oct/2008:00:17:38 +0000] "GET /galleries/
pattaya-
thailand-april-2008.kml HTTP/1.1" 200 9176 "-" "-" "-"

>From Google Earth on my web server log accessing the same kml - note
a user-agent string is supplied

60.229.xx.xx - - [13/Oct/2008:00:24:02 +0000] "GET /galleries/
pattaya-
thailand-april-2008.kml HTTP/1.1" 200 9176 "-" "GoogleEarth/
4.3.7284.3916(Macintosh;Mac OS X (10.5.5);en;kml:
2.2;client:Free;type:default)" "-"

Why does it matter?
1. In these examples, the kml is generated dynamically from a content
system

2. Google Earth and Google Maps render the infoWindows differently
for
the same kml.  For example, Google Maps displays the <atom:author>
information under the <Placemark> <name>.  Google Earth does not.

3. Maps and GE support different levels of KML and I want to send only
the supported KML to the right application

4. Therefore, the options to generate different kml depending on the
application requesting it is relevant and useful.

Cheers, --Kip

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

Reply via email to