The Transportation & Logistics demo is built with plain JavaScript, Google Maps, and the PubNub JavaScript SDK. The vehicles are simulated: each one runs in its own web worker with its own PubNub client, so every position, reading, and command really travels over PubNub, just as it would from a device in a truck.
Vehicles publish route updates as messages and send their position and temperature as signals. The dashboard listens to every vehicle with one wildcard subscription to vehicle.*, and sends commands back on each vehicle's own channel. Presence shows whether a sensor is online, Message Persistence lets a new window catch up on vehicles already on the road, and Access Manager tokens control access. Vehicles start near PubNub's San Francisco office, or near you if you tick Localize and allow location access. The source code is open on GitHub.