←back to thread

OpenStreetMap's New Vector Tiles

(tech.marksblogg.com)
480 points marklit | 6 comments | | HN request time: 1.004s | source | bottom
1. gregoriol ◴[] No.42183592[source]
Is there a tool to capture vector tiles to raster files? Some tools like Apple's MapKit don't support vector tiles yet, and it could be interesting to use one single map base and be able to just generate the raster, instead of having a specific raster server
replies(3): >>42183659 #>>42183704 #>>42184629 #
2. fingerlocks ◴[] No.42183659[source]
Apple’s MapKit most definitely supports vector tiles, because you are given a CGContext to draw with. You just have to implement the MVT spec (it’s small)
replies(1): >>42185199 #
3. chris_wot ◴[] No.42183704[source]
I am absolutely amazed that Apple don't support this yet. I had thought mapping was a competitive advantage for them...
4. durkie ◴[] No.42184629[source]
Something like https://github.com/maptiler/tileserver-gl can serve raster tiles from a vector tile dataset
5. gregoriol ◴[] No.42185199[source]
The idea is to use "MapKit" for maps, not to override it and draw everything yourself... The fact that it's possible doesn't mean it's a good idea.

It is however possible to use Maplibre, Mapbox or some other libraries which I think do support vector tiles.

replies(1): >>42188438 #
6. fingerlocks ◴[] No.42188438{3}[source]
It’s not a lot of work, like at all. And unlike mapbox/libre you’re are still within UIKit so you can leverage all the existing UI tooling on top of your vector layers.

It much more performant, ergonomic, and requires no external dependencies.