Skip to content

Instantly share code, notes, and snippets.

@manuelroth
Last active May 23, 2016 20:16
Show Gist options
  • Save manuelroth/d67f1ae67dddbb659ff17a7bb854096d to your computer and use it in GitHub Desktop.
Save manuelroth/d67f1ae67dddbb659ff17a7bb854096d to your computer and use it in GitHub Desktop.
Mapbox GL Style with custom sources for vector tiles, sprites and glyphs
{
"version": 8,
"name": "Bright",
"sources": {
"mapbox": {
"type": "vector",
"tiles": [
"http://localhost:8080/data/osm2vectortiles/{z}/{x}/{y}.pbf"
],
"maxzoom": 14
}
},
"sprite": "http://localhost:8080/styles/bright/sprite",
"glyphs": "http://localhost:8080/fonts/{fontstack}/{range}.pbf",
"metadata": {...},
"layers": [...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment