shithub: map


branches: front

Clone

clone: git://shithub.us/sirjofri/map gits://shithub.us/sirjofri/map
push: hjgit://shithub.us/sirjofri/map

Last commit

a0578c7d – sirjofri <sirjofri@sirjofri.de> authored on 2025/03/31 16:06
adds forgotten img.c file

About

MAP

a map viewer for Plan 9 systems


1. FEATURES

Map can handle the following things:

- Display map tiles from mapfs
- fetch GPS position from gpsfs(8)
- react to plumbs


2. INSTALLATION

This program needs these additional packages:

- libnate, the UI framework, made by me
- mapfs, the map tile server, made by me

With these packages installed, it is a default installation using:

	mk
	mk install


3. USAGE

The user interface will get more features in the future.   For now, it
provides the following inputs:

- q | Del  : Quit
- , | .    : Zoom out/in
- ←↑↓→     : move around

3.1 PLUMBING

Map listens to the 'map' channel:

	type	is	text
	data	matches	'[0-9.]+[NSWEnswe][0-9.]+[NSWEnswe][0-9]*'
	plumb	to	map

The message is defined as this:

- Number [NSWEnswe]: first coordinate pair
- Number [NSWEnswe]: second coordinate pair
- (Number): optional zoom level

Examples:

	50.5N30.4W5