fix: skip redundant mapController.move() on gesture-driven pans #1

Merged
sander merged 1 commit from claude/relaxed-wright into main 2026-04-04 14:06:34 +00:00
Owner

Every pan gesture updated mapProvider state, which triggered
ref.listen to call _mapController.move() with the position the
map was already at. This caused TileLayer to re-evaluate the
viewport and cancel in-flight tile loads, producing a
partially-rendered (diagonal) map.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Every pan gesture updated mapProvider state, which triggered ref.listen to call _mapController.move() with the position the map was already at. This caused TileLayer to re-evaluate the viewport and cancel in-flight tile loads, producing a partially-rendered (diagonal) map. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sander added 1 commit 2026-04-04 14:06:26 +00:00
Every pan gesture updated mapProvider state, which triggered
ref.listen to call _mapController.move() with the position the
map was already at. This caused TileLayer to re-evaluate the
viewport and cancel in-flight tile loads, producing a
partially-rendered (diagonal) map.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sander merged commit 4c8815f7cf into main 2026-04-04 14:06:34 +00:00
sander deleted branch claude/relaxed-wright 2026-04-04 14:06:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sander/maps#1
No description provided.