This is a script to download satellite images from Google Maps.
The below mentioned optimization system requires that zoom levels be downloaded in order. app.js
has a for loop to run through the zoom levels in order. Once you have downloaded up to a specific zoom level, you no longer need to download the lower ones again as the relevant information for optimization is stored in the json
folder. In other words, the json
folder will show you the zoom levels you can skip. Skip these zoom levels by editing the initial value in the for loop.
Ahaha, but do they have my special optimization system that drastically increases download speed? The number of tiles to download increases exponentially the more you zoom in, so with other scripts it is pretty much impossible to get any high level of detail.
Did you pump up the number of threads like a power-hungry caveman? The API endpoint we are using limits the number of active connections, so too many threads will start throwing EADDRINUSE errors. Still broken? Make an issue or something.
https://developers.google.com/maps/documentation/javascript/coordinates