How Google Maps Knows There’s a Traffic Jam?
When you see a dark red road on Google Maps, that live traffic update comes directly from millions of smartphones traveling inside vehicles. Every few seconds, navigating phones send their GPS coordinates and timestamps, allowing Google to calculate how fast each car is moving.
KodeKloud