The Delivery Tracking demo is built with plain JavaScript, Google Maps, and the PubNub JavaScript SDK. The drivers are simulated: each one runs in its own web worker with its own PubNub client, so every location update really travels over PubNub, just as it would from an app on a driver's phone. Google Directions plans the route.
When a trip starts, the driver publishes the whole route as one message on your vehicle.<id> channel. After that, every move is a small signal. The map listens to all vehicles with one wildcard subscription, Message Persistence lets a late window rebuild a trip in progress, and Access Manager tokens control access. The source code is open on GitHub.