summaryrefslogtreecommitdiff
path: root/test/fixtures/resources/style.json
blob: fc5f9c973b03e8718d8175601d7d97ebf741e618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "version": 8,
  "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"
    }
  }]
}