Kafkatorio/modules/web-map
Lazzexus c773b05922 Add a building icon layer to the web map
events-server-web keeps the latest state of every building in memory (read
from the map-chunk-entity topic, like the resource patches) and serves them
per area. The web map draws the icons at their real size onto canvas tiles,
so large bases stay fast, and shows each building's name, status and health
on hover. Ghosts are ignored, and buildings are removed when they're mined.

The icons belong to Wube and the mod authors, so they aren't in the repo.
export_building_icons.py builds them from a Factorio client's
--dump-data/--dump-prototype-locale/--dump-icon-sprites output, and the
web-map nginx serves them from a mounted volume.

Also label single-well oil fields "1 well".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 09:52:07 +02:00
..
docker Add a building icon layer to the web map 2026-10-21 09:52:07 +02:00
src Add a building icon layer to the web map 2026-10-21 09:52:07 +02:00
webpack.config.d fix webpack dev server, redownload bootstrap.min.css 2022-09-10 10:07:46 +02:00
.gettext.json added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
.gitignore added kvision web-map, cleaning up a few gradle things (tokens) 2021-12-06 22:15:26 +01:00
build.gradle.kts Remove dead kotlinx-nodejs dependency from web-map 2026-10-12 15:46:04 +02:00