Many of Google’s core applications: Docs, Maps, Sheets, etc all rely on robust realtime APIs that facilitate collaboration, notifications, messaging, and overall data transfer. According to Google, Google Realtime API provides collaboration as a service via the use of operational transforms. The API is a JavaScript library hosted by Google that provides collaborative objects, events, and methods for creating collaborative applications.

One of Google’s most powerful realtime APIs is maps.  This API powers things like realtime directions, traffic, tracking locations, tracking routes, calculating velcoity, and more.

Pubnub provides a great overview of geolocation tracking using the Google Maps JavaScript API and PubNub, enabling you to track a device in realtime on a live-updating map.

You can also check out Google’s quickstart that demonstrates how to sync changes in a text document between two HTML elements by using a CollaborativeString object.

Resources

Google Apps Realtime

Realtime API Playground

Realtime Mapping with Google Maps and Firebase