Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Tileserver GL - Configuration file
{
"options": {
"paths": {
"root": "",
"fonts": "fonts",
"sprites": "sprites",
"styles": "styles",
"mbtiles": ""
},
"domains": [
"localhost:8080",
"127.0.0.1:8080"
],
"formatQuality": {
"jpeg": 80,
"webp": 90
},
"maxScaleFactor": 3,
"maxSize": 2048,
"pbfAlias": "pbf",
"serveAllFonts": false,
"serveAllStyles": false,
"serveStaticMaps": true,
"tileMargin": 0
},
"styles": {
"basic": {
"style": "basic.json",
"tilejson": {
"type": "overlay",
"bounds": [8.44806, 47.32023, 8.62537, 47.43468]
}
}
},
"data": {
"europe_spain": {
"mbtiles": "europe_spain.mbtiles"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment