Skip to content

feat: add Overlay component pinned to image corners - #43

Merged
Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
agents/overlay-placement-component
Oct 9, 2026
Merged

Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
agents/overlay-placement-component

Conversation

@WipeAir

Copy link
Copy Markdown
Member

Adds <Overlay placement>, which pins a fixed-size box to an image corner instead of a map coordinate, so legends, watermarks and logos stay in place under fit. It takes an optional inset, and reserves its box against label collision unless reserve={false}. An overlay in the attribution's corner moves inward to keep the attribution clear. loadTextMeasurer no longer requires a warning collector, and the React README gains an Overlays section with a legend example that measures its text.

Overlays sit in a corner of the image rather than at a map coordinate, so
legends, watermarks and logos stay in place under fit. An overlay in the
attribution's corner moves inward to keep the attribution clear.
loadTextMeasurer no longer requires a warning collector.
@WipeAir
Andre虂 L. (WipeAir) merged commit 1659c32 into main Oct 9, 2026
10 checks passed
@WipeAir
Andre虂 L. (WipeAir) deleted the agents/overlay-placement-component branch October 9, 2026 17:41
@abi-jarvis abi-jarvis Bot mentioned this pull request Oct 9, 2026
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