GitHub - publicarray/map-dl: A tool to download Google Map images

1 min read Original article ↗

A tool to download Google map images.

This version takes a 'screen-shot' of the map.

This version allows downloading multiple images in a grid.

npx map-dl "[-27.883,153.531,-27.994,153.284]"
$ map-dl --help

 CLI to Download Google map images

 Usage
   $ map-dl [North, East, South, West]

 Options
   -s, --scale    Scale in km
   -t, --type     Map Type: roadmap, satellite, terrain or hybrid
   -o, --output   File-path to save the files
   -k, --apikey   Google Maps API key
   -v, --verbose  Verbose logging
   -V, --version  Display version number

 Example
   $ map-dl "[-27.883,153.531,-27.994,153.284]" --scale 5 --output ~/Desktop/map