by Nextgrid · 4y ago · 0 comments
Serve the maps in very coarse blocks that are downloaded ahead of time (and updates are served as binary diffs) so the smallest region the backend can pinpoint is the current city.
Over a decade ago stand-alone GPS units with single-core, sub-gigahertz CPUs, RAM measured in dozens of megabytes and shitty slow SD cards managed to hold maps for the entire country, so there's no reason devices orders of magnitude faster on all fronts can't do the same. In fact, in the iPhone 3G era I remember buying a GPS app that embedded all of Europe's maps locally and it worked well (in fact, local search is actually faster than online search).
I disabled the pre-installed Google Maps app on my phone. Expecting Google to do things contrary to their business interest of collecting and selling data would be naive.
Predownloading also wouldn't work for webapp users.
I suppose you could make the blocks a lot coarser though.