GLBasic forum

Main forum => GLBasic - en => Topic started by: djtoon on 2010-Nov-23

Title: getting images from url
Post by: djtoon on 2010-Nov-23
hi
trying to get image from google maps static api
this is what im using :)
try it in you browser :)

http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false

try'd it with netwebget and got a blank png file :(

is there someting im missing?
Title: Re: getting images from url
Post by: Kitty Hello on 2010-Nov-23
it's not legal that way. Open it in another browser, and you get the blank PNG, too. They act with cookies and JavaScript somehow. There's an API to get the png, though. You have to register.