Choose Drive in iseeido, tap Start, and the street leg changes. The map tilts and turns the way you’re going. Since build 19, you are not the arrow a walker sees. You are a small white car seen from above, nose up, with ink windows, wing mirrors and two yellow headlights.
The picture is 30 points wide and 50 tall. Making something that small read as a car, on a moving map, took four choices. Each one departs from the walking screen.
It stands up
On foot, you are a white arrow on an ink disc. The arrow is flat: in the code’s words, it lies on the tilted map and turns with it.
The car was laid flat the same way, and it didn’t survive. A driving map is tilted 55 degrees, a little more than the 50 used on foot. A long, narrow shape lying on ground seen at that angle loses a good part of its length and none of its width. The comment that now guards the code records what happened: laid flat, the car “was foreshortened to a squat square”.
So the car doesn’t lie on the map. It faces the screen, the way a pin does, and keeps its proportions.
It is turned by subtraction
A flat marker turns with the map for nothing. One that faces the screen doesn’t, so the app has to turn it. The rule is one subtraction: your heading, less the camera’s bearing.
While the camera follows you, the map is already turned to your heading. The two cancel, and the car points straight up the screen. Drag the map to look around, and the camera stops following until you tap Re-centre. The map reports its bearing to the car each time the camera moves, so the car still points the way you’re going.
The heading here isn’t the compass. It is the direction of the route itself at your point on it, which an earlier post describes.
It stays on the road
On foot, the marker is drawn at your location fix, inside a faint circle that shows the fix’s accuracy. A car drawn there, the code says, “wandered onto verges and into buildings” with every wobble.
So while you’re driving on the route, the car is drawn at the point on the route nearest you. Its circle is hidden: around a car kept on the road, it would sit off to one side. Between fixes the car glides for a full second at an even speed, where the arrow takes 0.3 seconds, so it keeps rolling instead of hopping forward and stopping.
Leave the route and the car goes back to the fix itself. There, the code says, the raw fix is the honest answer.
It sits low, and the map backs away
The camera’s point, which is you, sits in the middle of the map’s padded area. On foot the top padding is 8 points, so you sit in the middle of the map above the card. On a drive, the top padding becomes 40% of that height. The app’s notes put the result at about 60% of the way down the screen. The road ahead fills the view rather than the road behind.
The camera also backs away with speed. On foot the zoom is fixed at 17.5. On a drive it is 17 at low speed. Above about 30 km/h it starts to fall, in quarter steps, and it bottoms out at 15.5 by 108 km/h. A fix that carries no speed counts as 50 km/h.
- 55°the map’s tilt on a drive, where on foot it is 50°
- 17 to 15.5the zoom, from low speed to 108 km/h
- 1 secondthe car’s glide between fixes, at an even speed
- 60%about how far down the screen the car sits
With the phone in your hand
At a glance the car is on the road, pointing along it, and it doesn’t twitch when your location does. The faster you go, the more road you see. The release note says it in one line: “The faster you go, the further the map looks ahead, with you near the bottom of the screen.”
One thing is worth knowing. The car on the road is a drawing choice. It marks the point on the route nearest your fix, not a sharper location than the phone has.
None of this changes a walk, or the overview before you tap Start, where you are still a white dot.
The commit that added car mode says the car and the camera were checked in the Simulator, on simulated drives.
The arithmetic
- The car’s body is 20 points wide and 42 long. Seen at 55 degrees from straight down, a flat length keeps roughly cos 55°, or 57%, of itself: about 24 points. That is the square. Perspective is ignored in this sum.
- Zoom on a drive: take the speed in metres per second, subtract 8 and divide by 22, and hold the answer between 0 and 1. The zoom is 17 less 1.5 times that, rounded to the nearest quarter.
- 8 metres per second is 28.8 km/h, and 30 is 108 km/h. A fix with no speed is treated as 13.9, which gives 16.5.