Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save Google map to jpeg using PHP?

Is it even possible? I am implementing an export to pdf functionality for a pile of data, one of which is a Google map with a marker.

Thank you.

like image 366
johnjohn Avatar asked Sep 25 '26 03:09

johnjohn


1 Answers

I think you are looking for this: http://code.google.com/apis/maps/documentation/staticmaps/

you just need the url and the google api returns the google maps excerpt as a png file

like image 153
Christian Smorra Avatar answered Sep 26 '26 16:09

Christian Smorra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!