A Slippy Map written in Go, runs in desktop mode or in js/wasm, for the plane.watch frontend (maybe).
- Loads as a desktop app and displays the slippy map in a window
- You can pan around with the mouse by dragging
- You can zoom with mouse wheel
- Planes on map
- Reads readsb-protobuf aircraft.pb from URL every n milliseconds
- Read aircraft positions from message bus
- Draw paths and stuff (polyline) on map
- Add scale (ref: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale)
- Add UI buttons for zoom, paths, labels etc
- Install prerequisites:
- Linux:
apt-get install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
- Linux:
- Clone the repo
- Change to the repo dir
Then...
go run main.go
go install github.com/hajimehoshi/wasmserve@latest
- install wasmserve oncewasmserve .
- launches local dev server- open http://localhost:8080/ and wait for the app to compile+load