I'm building out an API and have a question about how to track/know
which domains use the call, after the KML gets picked up by Google's
servers for rendering.

So for example, my domain that is serving up the API PHP file is
called dev.yourmapper.com. Someone on the domain www.metromapper.org
builds a page that creates a Google map, and calls my file using Ajax
to overlay my data on their map. Google grabs that KML file, then
serves it back to the user.

Here is that example in action: http://www.metromapper.org/example/apitest.htm

(Click the center map marker to see a popup of all the PHP Server
variables available to the yourmapper.com script.)

Since Google is grabbing it, I can't use the PHP variables REMOTE_HOST
or REMOTE_ADDR to get the 'metromapper.org' site info. They only tell
me Google's IPs.

So is there some other way to get this data? Does Google happen to
return it in the header somewhere? Any ideas on how to track or pass
the originating remote host name around so I can get it when the call
is made? Thanks, I realize this might not be solvable.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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