Great Barry ! That work very well now.
Thanks ! :) On Dec 15, 1:43 pm, "Barry Hunter" <[email protected]> wrote: > 2008/12/15 noisycity <[email protected]>: > > > > > The question is not about the format. I already know how it work. > > > I want to save the image that is generated by this static map url to a > > "hard" file with a php script. > > > Example : > > > <?php > > > copy("http://maps.google.com/staticmap? > > center=29.76713411148877,31.31026268005371&zoom=17&size=640x640&format=gif&maptype=satellite&key=ABQIAAAA5s.","copy.gif"); > > You appear to have the & symbols, html entity encoded - you probably > dont want that. Change the & s to & > > > > > > > ?> > > > That generate an error : HTTP request failed! HTTP/1.0 400 Bad > > Request. > > > On Dec 15, 1:23 pm, igloo <[email protected]> wrote: > >> As mapperz has succinctly put it, a quick visit to the Static Maps API > >> documentation gives you the 'format' option definitions: > > >>http://code.google.com/apis/maps/documentation/staticmaps/#ImageFormats > > >> which would have solved your problem without having to post to the > >> forum..... > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
