https://github.com/marianogappa/map
Open an in-browser World Map with specified markers
https://github.com/marianogappa/map
cli go leafletjs map worldmap
Last synced: 22 days ago
JSON representation
Open an in-browser World Map with specified markers
- Host: GitHub
- URL: https://github.com/marianogappa/map
- Owner: marianogappa
- License: mit
- Created: 2024-04-11T17:49:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T12:30:49.000Z (about 2 years ago)
- Last Synced: 2025-12-25T14:57:24.752Z (6 months ago)
- Topics: cli, go, leafletjs, map, worldmap
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# map
CLI tool that takes `(lat,long)` markers from STDIN and opens a World Map in the browser with those markers.

## Installation
```bash
go install github.com/marianogappa/map@latest
```
## Usage
```bash
echo "52.5170365,13.3888599,Berlin" | map -separator comma
```
If you don't have the coordinates, use [gps](https://github.com/marianogappa/gps)!
```bash
$ echo "Berlin" | gps | map
```
## Notes
- By default it reads tab-separated "{lat} {long} {label}" lines from STDIN
- Uses [Leaflet.js](https://leafletjs.com/) for drawing the map
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/marianogappa/wm/blob/main/LICENSE) file for details.