Closed ScaredyCat closed 8 years ago
TileServer-PHP is serving the raw PBF tiles.
If you want your own style with such vector tiles you have to host a few assets extra - the JSON style itself, font glyphs, probably offline version of MapBox GL JS javascript.
For step-by-step documentation see: http://osm2vectortiles.org/docs/display-map-with-mapbox-gl and https://github.com/klokantech/osm2vectortiles-gl-styles
We work now on another project - the TileServer-GL - which is made to serve vector tiles together with styles and assets, and which is also able to render visually equal raster tiles for older clients on the server side. Check: https://github.com/klokantech/tileserver-gl/
Perfect, thanks for the pointers.
Perhaps I'm missing something, but the instructions are pretty sparse. I have an apache server setup fine and it's sort of working. I say sort of because there's limited colour in the map. The background is black on which I've got blue and brown lines;
I can't for the life of me find anything that hints at using an alternative style. Am I missing something obvious, is there any documentation?