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"); ?> That generate an error : HTTP request failed! HTTP/1.0 400 Bad Request. On Dec 15, 1:23 pm, igloo <iglo...@gmail.com> 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..... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---