Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will or what kind of support does Mapbox have for Vector tiles?

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?

like image 435
jack Avatar asked Mar 14 '14 10:03

jack


People also ask

What is vector tiles in Mapbox?

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.

How do I create a vector tile in Mapbox?

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).

Does leaflet support vector tiles?

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.


1 Answers

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.

like image 55
incanus Avatar answered Oct 08 '22 07:10

incanus