Modules§
Structs§
- Draw
Custom Unzoomed Shapes - Draw custom objects that scale their size as the canvas is zoomed.
- Draw
Unzoomed Shapes - Draw
Circles
andPolyLines
in map-space that scale their size as the canvas is zoomed. The goal is to appear with roughly constant screen-space size, but for the moment, this is approximated by discretizing into 10 buckets. The scaling only happens when the canvas is zoomed out less than a value of 1.0. - DummyID
- If you don’t ever need to refer to objects in a
World
, you can auto-assign dummy IDs. - PerZoom
- Toggle
Zoomed - Draws one of two versions of something, based on whether the canvas is zoomed in past a threshold.
- Toggle
Zoomed Builder - World
- A
World
manages objects that exist in “map-space”, the zoomable and pannable canvas. These objects can be drawn, hovered on, clicked, dragged, etc.
Enums§
- World
Outcome - The result of a
World
handling an event
Traits§
- ObjectID
- Objects in a
World
are uniquely identified by this caller-specified type