https://github.com/publicarray/map-dl
A tool to download Google Map images
https://github.com/publicarray/map-dl
cli google-maps javascript
Last synced: 9 months ago
JSON representation
A tool to download Google Map images
- Host: GitHub
- URL: https://github.com/publicarray/map-dl
- Owner: publicarray
- License: mit
- Created: 2016-09-08T03:52:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T21:22:27.000Z (over 2 years ago)
- Last Synced: 2025-04-14T02:08:15.083Z (9 months ago)
- Topics: cli, google-maps, javascript
- Language: HTML
- Homepage: https://publicarray.github.io/map-dl/
- Size: 214 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Map-dl
A tool to download Google map images.
[](https://www.npmjs.com/package/map-dl)
[](https://www.npmjs.com/package/map-dl)
[](LICENCE.md)
## Websites
https://publicarray.github.io/map-dl/2.html
This version takes a 'screen-shot' of the map.
https://publicarray.github.io/map-dl/
This version allows downloading multiple images in a grid.
## The CLI
### Run it just once without installing
https://www.npmjs.com/package/npx
https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b
```bash
npx map-dl "[-27.883,153.531,-27.994,153.284]"
```
### Installation
```bash
npm install -g map-dl
```
### Usage
```bash
$ 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
```