Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
/ pw-slippymap Public archive

A Slippy Map written in Go, eventually destined to be compiled to WebAssembly, for the plane.watch frontend (maybe).

Notifications You must be signed in to change notification settings

plane-watch/pw-slippymap

Repository files navigation

plane-watch/pw-slippymap

codecov

A Slippy Map written in Go, runs in desktop mode or in js/wasm, for the plane.watch frontend (maybe).

Current state

  • 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

Future

Running locally

  • Install prerequisites:
    • Linux: apt-get install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
  • Clone the repo
  • Change to the repo dir

Then...

Desktop mode

  • go run main.go

WASM Mode

  • go install github.com/hajimehoshi/wasmserve@latest - install wasmserve once
  • wasmserve . - launches local dev server
  • open http://localhost:8080/ and wait for the app to compile+load

About

A Slippy Map written in Go, eventually destined to be compiled to WebAssembly, for the plane.watch frontend (maybe).

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages