Seems strange Apple offering this for free for other platform users.
This also makes me wonder how much does it cost to run a Map services. I assume the actual server and bandwidth cost are negligible. But the updating and Data would be the most expensive part. But what incentive does Apple have to open this up?
Protomaps makes hosting maps pretty cheap for open streetmap vector tiles. Most of the cost is actually the CDN bandwidth. It's not going to be nothing depending on the number of users but it shouldn't break the bank for Apple and probably is relatively low to other content they distribute (e.g. Apple TV) or OS updates.
The way protomaps does this is by serving a single large file with all the map data via bucket storage and then using lambda functions + CDNs to extract tiles from there on demand. So, they don't pre-calculate the tile files and this simplifies the update process to replacing a single file. The CDN caches the extracted tiles so this is relatively cheap and doable even for small startups. So, this minimizes compute and storage.
Generating the map tiles requires a bit of compute obviously but it's a constant overhead; and they have to do this anyway for their native apps.
Probably the hardest part for them was building a hardware accelerated render engine for the web. Similar to Maplibre, Google Maps, etc. That would explain why it doesn't work on Firefox as well. And obviously Safari is a bit lagging with things like web GPU and WASM that I imagine would be useful for this.
I’m on both iOS, macOS and Linux. One thing that’s keeping me using Google Maps is not having Apple Maps in the browser (on Linux). This definitely could lower the switching threshold.
I fear running all these services is expensive too - not just the data & updates.
You need quite a lot of infrastructure:
1. map tiles
2. satellite view
3. geocoding. Where you have several services like forward, reverse, IP2coord. Likely also different services for different countries.
4. A-B routing. Again with several services like car, bike, walking and transit. Especially transit is a completely different thing. Also traffic data requires a different data pipeline.
I was also surprised to see that there is no cost for using Apple Maps (maybe because it's a beta?).
How will this affect services like Google Maps, Mapbox, and similar providers?
This also makes me wonder how much does it cost to run a Map services. I assume the actual server and bandwidth cost are negligible. But the updating and Data would be the most expensive part. But what incentive does Apple have to open this up?