Skip to content

five-on-it / apps/client/src/ui/studio/TownMap

apps/client/src/ui/studio/TownMap ​

The studio's map of a grid-town spec, drawn from the spec itself as the generator lays it out (town.ts): its blocks tinted by their district (a park green, a compound walled), its streets as wide as they are (an avenue wider and darker), each district's name on its first block, the selection outlined, the issues pinned where they are. A click is the tool's (StudioPage.tsx decides what it does on the block or the line under it); pan by dragging, zoom with the wheel or the buttons. The ids and data- attributes are the end-to-end tests' contract.

Interfaces ​

Functions ​