by iudqnolq · 4y ago · 0 comments
As someone with a hobby project in this area I can confidently say that's not simple.
Either you implement a new simple map app (very hard), or you add a comparability layer to run an existing map app (never done it, assume very hard and also not minimalist).
Edit: Here's an example of an impressive 10k LOC attempt at a new map renderer. Look at what it supports so far. (This map is representative, the renderer just doesn't support things like text yet) https://webgl.demo.maplibre-rs.maplibre.org/
[0] https://support.thelightphone.com/hc/en-us/articles/44021234...
Their privacy policy reveals online directions are sent off to a mapbox competitor
> We've built the Directions tool, like all of our tools, with privacy as a priority. Light does not have access to any location info or logs of your trip history. These trips are handled privately without user identification using our navigation partner HERE.
I suspect everything maps related on-device is a thin layer over the HERE SDK.
I suspect that's possible because LightOS is actually a skin over Linux or Android.
You're right that linking to a vector renderer isn't too much work. I was commenting on the simplicity of writing a map app from scratch.
One cause I think is the lure of offline capability: when I'm in the browser I don't mind loading on demand, but as soon as native enters the picture I'll want at least an escape hatch to downloadable maps. And then the Pandora's box of provisioning, backwards and forwards compatibility is wide open and you happily stick to mapsforge or whatever it is you already have.
(ps: and my post above was supposed to start "Wouldn't maps actually" instead of "Wouldn't web actually", but you seem to have read intention instead of words just fine)
Just based on my superficial impression I think normal apps on the play store pay mapbox if they don't have a big budget and consider maplibre (the fork of mapbox's most recent approach) if they're big enough.
My surface impression is maplibre is used by companies like Facebook who can afford to hire low level graphics devs and fork mapbox's work rather than pay the new license.
For every feature, including offline, I think paying mapbox is the cheapest option with decent quality up to that scale.
Of course, there are projects like mine that aren't motivated by profit. (I'm using mapnik, an independent oss project that got significant mapbox investment years back but which they now consider legacy).