Skip to content

Disable MapLibre box zoom so shift+drag is free for rect-select#222

Open
tmshv wants to merge 1 commit intomasterfrom
issue-221
Open

Disable MapLibre box zoom so shift+drag is free for rect-select#222
tmshv wants to merge 1 commit intomasterfrom
issue-221

Conversation

@tmshv
Copy link
Copy Markdown
Owner

@tmshv tmshv commented Apr 15, 2026

MapLibre's built-in shift+drag box zoom fires alongside the Sources-tab rect-select tool, causing an unwanted zoom on every selection. Always disable map.boxZoom in useMapNavigation so the gesture is reserved for rect-select.

Closes #221

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.

Disable MapLibre box zoom (shift+drag conflicts with rect-select)

1 participant