Skip to content
Articles
Article

throttled_location: send fewer GPS points without losing the courier's trail

by Abdeldjalil Chougui dev.to

6 min read

A phone can produce a GPS fix every second. For a delivery or ride-hailing app, the obvious thing is to post each one to the server. The README of this package explains why that is a bad deal: sending every fix wastes battery, mobile data and server writes, and it still leaves a gap on the map as soon as the courier drives into a tunnel. What the map needs is different from what the GPS produces.…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by