Files
MapLibreParticleLab/test/fixtures/resources/style.json
Thiago Marcos P. Santos e4cc06b798 Add test fixtures for testing raster tiles
Add a raster source for the style we use for testing that will
force requests for raster tiles.
2015-07-02 23:21:42 +03:00

37 lines
873 B
JSON

{
"version": 1,
"name": "Test",
"sources": {
"vectorsource": {
"url": "test/fixtures/resources/source_vector.json",
"type": "vector"
},
"rastersource": {
"url": "test/fixtures/resources/source_raster.json",
"type": "raster",
"tileSize": 256
}
},
"sprite": "test/fixtures/resources/sprite",
"glyphs": "test/fixtures/resources/glyphs.pbf",
"layers": [{
"id": "road",
"type": "symbol",
"source": "vectorsource",
"source-layer": "road_label",
"layout": {
"text-font": "Open Sans Regular, Arial Unicode MS Regular",
"text-field": "{name_en}"
}
}, {
"id": "poi",
"type": "symbol",
"source": "vectorsource",
"source-layer": "poi_label",
"layout": {
"text-font": "Open Sans Regular, Arial Unicode MS Regular",
"icon-image": "{maki}_icon"
}
}]
}