marianogappa / map

Open an in-browser World Map with specified markers

Repository from Github https://github.commarianogappa/mapRepository from Github https://github.commarianogappa/map

map

CLI tool that takes (lat,long) markers from STDIN and opens a World Map in the browser with those markers.

Screenshot 2024-04-14 at 13 30 14

Installation

go install github.com/marianogappa/map@latest

Usage

echo "52.5170365,13.3888599,Berlin" | map -separator comma

If you don't have the coordinates, use gps!

$ echo "Berlin" | gps | map

Notes

  • By default it reads tab-separated "{lat} {long} {label}" lines from STDIN
  • Uses Leaflet.js for drawing the map

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Open an in-browser World Map with specified markers

License:MIT License


Languages

Language:Go 100.0%