I've investigated this a bit more deeply, and I've convinced myself
it's a bug with the GGeoXml implementation.  The mapsatt redirect
doesn't set a content type, so firefox offers to download the file
rather than attempt to display it.  I don't know where to file this
behavior (google or firefox), but I don't believe it belongs here.

For others affected by this, though, I placed the following file file
in the root directory of my server:

--- mapsatt.php ---
<?php
   $mapsatt = 'http://maps.google.com/mapsatt?'.$_SERVER
["QUERY_STRING"];
   $response = file_get_contents($mapsatt);

   /* Output the results */
   header('Content-type: image/png');
   echo $response;
?>

I've hard-coded the content type since I know what I'm trying to
serve.  It wouldn't be too hard to parse the query_string and set the
content type dynamically, though.

Cheers,
J

--

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