Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T21:22:27.000Z (over 1 year ago)
- Last Synced: 2024-09-17T15:54:00.592Z (4 months ago)
- Topics: cli, google-maps, javascript
- Language: HTML
- Homepage: https://publicarray.github.io/map-dl/
- Size: 214 KB
- Stars: 12
- Watchers: 3
- 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.
[![npm](https://img.shields.io/npm/v/map-dl.svg?style=flat-square)](https://www.npmjs.com/package/map-dl)
[![npm](https://img.shields.io/npm/dm/map-dl.svg?style=flat-square)](https://www.npmjs.com/package/map-dl)
[![license](https://img.shields.io/npm/l/map-dl.svg?style=flat-square)](LICENCE.md)## Websites
https://publicarray.github.io/map-dl/2.htmlThis 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 --helpCLI 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 numberExample
$ map-dl "[-27.883,153.531,-27.994,153.284]" --scale 5 --output ~/Desktop/map
```