Plan 9: Tiled Map
Use plot(1) to display tiled maps. The zoom factor decides the grid dimension. osm.js: Download tile images using hget. Cache the images. Convert the PNG image into Plan 9 format using png. Display the images using plot. Plot script ra 0 0 200 200 m 0 100 im /file Code Plot: https://gitlab.com/atamariya/plan9front/-/blob/dev/sys/src/cmd/plot/ OSM: https://gitlab.com/atamariya/qjs/-/blob/plan9/osm.js