Skip to content

Map size tooltip - #10

Merged
JetSquirrel merged 2 commits into
mainfrom
map-size-tooltip
Sep 30, 2026
Merged

JetSquirrel merged 2 commits into
mainfrom
map-size-tooltip

Conversation

@JetSquirrel

Copy link
Copy Markdown
Owner

No description provided.

JetSquirrel and others added 2 commits September 30, 2026 16:32
A map said where, never how much: every point was the same 9 px dot, and
its tooltip gave a name and coordinates to five decimals but not the value
the map was about. A dashboard's `map` can now take `size = requests` —
area follows the value, or `size_scale = "log"` for values spanning orders
of magnitude — with a two-circle key in the corner to read sizes back.
Points draw largest first so a small one is never buried, and the pointer
picks the one on top. A value that cannot sit on the scale is drawn
smallest and counted in the map's notes.

The tooltip now leads with the numbers: `tooltip = [place, requests, ips]`
lists exactly those columns; without it, the size column and the other
numeric columns come first and the coordinates after, in the results chart
too. `check` validates the new attributes, with --database that `size` is
numeric and every tooltip column exists; the language server completes and
documents them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Both touched the same lines; the size encoding is documented where it
lives, on MapStyle.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JetSquirrel
JetSquirrel merged commit 69fda45 into main Sep 30, 2026
3 checks passed
@JetSquirrel
JetSquirrel deleted the map-size-tooltip branch September 30, 2026 17:48
JetSquirrel added a commit that referenced this pull request Sep 30, 2026
#9 and #10 landed the online base map and map size/tooltip from the same
work this branch carries, since extended here. Every conflict resolves to
this branch's side, a superset of main's; Cargo.toml keeps one `image`
dependency, which the auto-merge had doubled, and getrandom for `open`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant