Commit graph

11 commits

Author SHA1 Message Date
Shautvast
a3aaf1b6de fix: stop syncing gesture positions back to mapProvider
Removed the updateCamera() call from onPositionChanged. Previously,
every gesture-driven pan/zoom frame updated the provider state, which
triggered ref.listen to call _mapController.move() redundantly.
This caused flutter_map's TileLayer to cancel in-flight tile loads
on every frame — producing partially-rendered maps and crashes when
zooming out during tile loading.

The ref.listen now only fires for programmatic changes (locateUser,
zoomIn/zoomOut), which are infrequent single-shot moves.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 16:15:02 +02:00
Shautvast
578d2d24ed fix: skip redundant mapController.move() on gesture-driven pans
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>
2026-04-04 16:04:59 +02:00
Shautvast
bdafef79f9 test url by default 2026-04-04 15:33:22 +02:00
Shautvast
31cfd59b92 combine martin calls 2026-04-03 21:11:38 +02:00
Shautvast
05e9a9b688 don't overflow the server 2026-04-03 20:19:04 +02:00
Shautvast
08ea09a347 get front end to work 2026-04-03 17:23:36 +02:00
Shautvast
f94a888a92 martin config 2026-03-31 21:01:08 +02:00
Shautvast
c6e2cab237 Fix: parameter is not a valid OSRM v5 parameter. 2026-03-31 12:29:17 +02:00
Shautvast
6711aad7d7 fix martin tile calls 2026-03-31 10:31:59 +02:00
Shautvast
43ddb8b1fe network name 2026-03-31 09:51:08 +02:00
Shautvast
11e92c1655 draft 2026-03-30 09:22:16 +02:00