I read MapBox and vector tiles and am wondering if I understand this right.
In some future it will be possible to render vector based tiles with iOS MapBox? If yes, how would the RMTileSource for vector tiles look like?
In layman's terms, do I understand this right: I will be able to use a SVG or even PDF files as the data source for MapBox instead of PNG tiles?
If yes, is there any code out yet that I can experiment with?
A vector tile is a lightweight data format for storing geospatial vector data, such as points, lines, and polygons. Vector tiles are used to create Mapbox vector tilesets. Vector tiles can be used as sources for styles or queried directly to create interactive experiences with the Mapbox Mobile SDKs and Mapbox GL JS.
Ready to get started? Create a free account to start building with Mapbox. Add a vector source to a map. Add any Mapbox-hosted tileset using its tileset URL ( mapbox:// + tileset ID).
Leaflet doesn't support vector tiles by default. For basemaps, it is recommended to use it with traditional raster tiles (Mercator XYZ). Such tiles can be generated on demand for any of the GL styles with the open-source server software called TileServer GL.
Yes, in future, you will be able to consume and render vector tiles local to an iOS app, either as raster tiles or directly to a vector context (e.g. OpenGL). This is in development.
It's less about sources like SVG or PNG and more about the open vector format that Mapbox will serve up-to-date OpenStreetMap data and later, other sources, for these sorts of uses.
To experiment with vector styling, check out the TileMill 2 preview. Stay tuned for more iOS-specific stuff.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With