Skip to content

Add X and Y offset controls to labels panel - #29

Merged
svickars merged 1 commit into
mainfrom
feat/label-offset-controls
Aug 10, 2026
Merged

Add X and Y offset controls to labels panel#29
svickars merged 1 commit into
mainfrom
feat/label-offset-controls

Conversation

@svickars

Copy link
Copy Markdown
Collaborator

Summary

  • Adds side-by-side X and Y offset sliders to the Labels panel for both symbol and choropleth maps
  • Applies global pixel offsets during label rendering, on top of alignment or centroid positioning
  • Preserves individually moved labels — manual position overrides still take precedence

Test plan

  • Open Map Styling → Labels on a symbol map with labels enabled
  • Adjust X and Y offset sliders and confirm all labels shift in the map preview
  • Repeat on a choropleth map with labels enabled
  • Move an individual label with the move tool and confirm it is not affected by global offset changes
  • Reload the page and confirm offset values persist from localStorage

Made with Cursor

Expose global label offset controls for symbol and choropleth maps so users can nudge label positions without moving each label individually.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
map-studio Ready Ready Preview Aug 10, 2026 7:17pm

@svickars
svickars marked this pull request as ready for review August 10, 2026 19:17
@svickars
svickars merged commit 876fa78 into main Aug 10, 2026
6 checks passed
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