summaryrefslogtreecommitdiff
path: root/test/fixtures/api/query_style.json
blob: fd147f789966a37933ef3c0c615ac3d96b2f3e0b (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
  "version": 8,
  "sources": {
    "source1": {
      "type": "geojson",
      "data": {
        "type": "Point",
        "coordinates": [
          0,
          0
        ]
      }
    },
    "source2": {
      "type": "geojson",
      "data": {
        "type": "Point",
        "coordinates": [
          0,
          0
        ]
      }
    },
    "source3": {
      "type": "geojson",
      "data": {
        "type": "Point",
        "coordinates": [
          0,
          0
        ]
      }
    },
    "source4": {
      "type": "geojson",
      "data": { 
        "type": "Feature", 
        "id": "feature1",
        "geometry": { 
          "type": "Point",
          "coordinates": [
            0.0,
            0.0
          ] 
        }, 
        "properties": {
          "key1": "value1",
          "key2": 1.5,
          "key3": false,
          "key4": 0.5
        } 
      }
    },
    "source5": {
      "type": "vector",
      "tiles": ["fake"]
    },
    "source6": {
      "type": "raster",
      "tiles": ["fake"],
      "tileSize": 256
    }
  },
  "layers": [
    {
      "id": "layer1",
      "type": "symbol",
      "source": "source1",
      "layout": {
        "icon-image": "test-icon",
        "icon-allow-overlap": true
      }
    },
    {
      "id": "layer2",
      "type": "symbol",
      "source": "source2",
      "layout": {
        "icon-image": "test-icon",
        "icon-allow-overlap": true
      }
    },
    {
      "id": "layer3",
      "type": "symbol",
      "source": "source3",
      "layout": {
        "icon-image": "test-icon",
        "icon-allow-overlap": true
      }
    },
    {
      "id": "layer4",
      "type": "symbol",
      "source": "source4",
      "layout": {
        "icon-image": "test-icon",
        "icon-allow-overlap": true
      }
    }
  ]
}