Map size tooltip - #10
Merged
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.