Skip to content

Spruce up the iOS demo - #984

Open
michaelkirk wants to merge 2 commits into
stadiamaps:mainfrom
michaelkirk:mkirk/demo-route-preview
Open

michaelkirk wants to merge 2 commits into
stadiamaps:mainfrom
michaelkirk:mkirk/demo-route-preview

Conversation

@michaelkirk

@michaelkirk michaelkirk commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

I know we want the demo to be minimal, but it was a little TOO sparse in my opinion.

Two things - I could split them up if you'd like, but I thought it might be more efficient to review this way.

1. the location toggle confused me, so I've made it clearer.

before

Screenshot 2026-10-08 at 15 34 11 Screenshot 2026-10-08 at 15 34 07

after

Screenshot 2026-10-08 at 15 21 11 Screenshot 2026-10-08 at 15 21 02

The widget got bigger. I could bury it in a settings toggle or something if it's offensive.

2. Previously there was no feedback as you clicked through "Choose Destination" etc. steps until routing.

Before

ferrostar-demo-before.mov.mp4

After

ferrostar-demo.mov.mp4

Note: "choose route" still looks like a no-op, but if you can get multiple alternate routes it'd make sense.

michaelkirk and others added 2 commits October 8, 2026 14:05
Replace the "Sim" toggle with a labelled Simulated / CoreLocation picker
that explains where each gets its location.

While idle, show MapLibre's puck only when it agrees with the demo's location:
MapLibre reads CoreLocation itself, so in simulated mode it would mark a different place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picking a destination, loading routes and choosing a route
previously changed only the button label.

- Mark the chosen destination with a pin.
- Draw the loaded routes, then only the chosen one.
- Fit the camera to the current location and destination.
- Close search on every selection.
  It only closed when the destination changed,
  so re-selecting the same place left it open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant