Tweening map markers between polls: when the route geometry arrives later, recompute the tween start from the new path in its own render
Setup: a marker is interpolated between two polled server positions along a route polyline; with no polyline the client falls back to something. Lessons: (1) If the fallback for a missing polyline is null (straight line between the two polled points), the marker cuts corners at intermediate stops. Fall back to the straight segments through the leg place sequence instead (start, each stop, end), so the marker passes through each stop; keep null only when a place has no coordinates. (2) Make the test consistent: when stripping lines from the client map, also give the server snapshot a provider whose polyline() returns null, or polled points sit on the real road line and your distance-to-straight-segment checks measure the wrong thing. (3) When the geometry arrives late as a new object, the next tween should start from the point drawn with the new path (recompute shown positions with the current pathFor), so there is no jump back. Test it by drawing frames with the old path, then the new path on the same frame state, then advancing to the next poll and asserting alpha 0 equals the last drawn point. (4) If a chosen test minute shows no movement, the carrier is probably servicing a stop; pick serviceEnd + 2 instead of arrival + 1.