This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

.json styles

0

Good afternoon, I apologize for this question but I can't find instructions anywhere. I would like to use one of these styles: https://openmaptiles.org/styles/. Unfortunately, I don't know what to do. I'm confused, thank you for your answers.

asked 13 Jul '20, 13:30

MarkonM2's gravatar image

MarkonM2
11112
accept rate: 0%

edited 14 Jul '20, 08:00

scai's gravatar image

scai ♦
33.3k21309459


One Answer:

1

The styles are for use with OpenMapTiles vector tiles.

To use them you need a source of such vector tiles, and a method to serve them to your application/browser (typically vector tiles are converted to images client-side, that is in your browser or app).

Googling for vector tiles will return a lot of material that doesn't make sense to repeat here.

answered 13 Jul '20, 14:20

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

1

To be fair "Googling for vector tiles" without some knowledge of the history of Mapbox, OpenMapTiles and the other stuff that https://www.google.com/search?hl=en&q=vector%20tiles throws up, like Mapzen, isn't going to be tremendously useful on its own. The best documentation that I'm aware of is actually linked to that page and the corresponding Mapbox page.

Whether it's the right solution for you largely depends on what you're trying to do, and as we don't know that it's difficult to help more.

(15 Jul '20, 18:51) SomeoneElse ♦

Source code available on GitHub .