Download google map, save as image

Once I faced with task to download some area of Google maps… At first I tried to glue some downloaded google maps images together manually, but gave up very soon. After googling on the Internet, I found no good way to make it automatically.

I decided to dive in GMap API… By using some sample I wrote simple script, that handles most part of this process automatically.. You just need to select intrested region, zoom, map type and wait 🙂

Method does the following, it loads selected region in one big viewport and after it is loaded, converts it into Canvas, which can be saved as .PNG image.