districtr / districtr-v2

A free, open-source web app for drawing districting plans. Reboot of districtr.
MIT License
0 stars 0 forks source link

Calculate populations while painting from tiles #39

Open raphaellaude opened 2 months ago

raphaellaude commented 2 months ago

Currently the population stats are calculated server side. Though server-side metric calculation is intended to be the dominant paradigm for calculating metrics, population totals are a special case. They should be updated with less latency and updated as a user paints, rather than on mouse up (which we're currently doing for server-side metrics to minimize API calls).