mapvas 0.2.9

A map viewer with drawing functionality
Documentation

MapVas

CI codecov Crates.io Downloads License

A map canvas that shows all kind of geospatial data on an interactive map.

mapvas

Install

Cargo:

cargo install mapvas

macOS (Homebrew):

brew tap udho/mapvas && brew install mapvas

From source:

git clone https://github.com/UdHo/mapvas.git
cd mapvas && cargo install --path .

Quick Start

View a file:

mapcat data.geojson
mapcat routes.gpx
mapcat points.kml

Pipe data:

echo "52.521853, 13.413015" | mapcat          # Point in Berlin
curl 'https://api.example.com/geo' | mapcat   # From API

Or just drag and drop files onto the map window.

Basic Controls

Action Description
Scroll / +/- Zoom
Drag Pan
V Paste coordinates
Drop file Load data
F Focus all elements
/ Search
F1 Toggle sidebar

Documentation

  • Usage Guide - Full controls and features
  • Parsers - Supported formats (GeoJSON, GPX, KML, etc.)
  • Configuration - Tile providers, caching, environment variables

License

MIT OR Apache-2.0