summaryrefslogtreecommitdiff
path: root/metrics/tests/location_indicator/query_test_miss/style.json
blob: 8ff5b51c39a7c1b15e1a4c914253ffb6dfbc55ab (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
{
  "version": 8,
  "metadata": {
    "test": {
      "width": 512,
      "height": 256,
      "operations": [
        [
          "addImage",
          "puck_hat",
          "puck_hat.png"
        ],
        [
          "addImage",
          "puck",
          "puck.png"
        ],
        [
          "addImage",
          "puck_shadow",
          "puck_shadow.png"
        ]
      ],
      "queryGeometry": [
        160,
        128
      ]
    }
  },
  "center": [ 139.766707, 35.693055 ],
  "zoom": 16,
  "pitch" : 60,
  "bearing" : 42,
  "sources": {},
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "white"
      }
    },
    {
      "id": "puck123",
      "type": "location-indicator",
      "layout" : {
          "bearing-image" : "puck",
          "top-image" : "puck_hat",
          "shadow-image" : "puck_shadow"
      },
      "paint" : {
          "bearing" : 45,
          "perspective-compensation" : 1,
          "image-tilt-displacement" : 0,
          "location" : [ 35.693055, 139.766707, 0],
          "accuracy-radius": 90.0,
          "bearing-image-size" : 0.26,
          "top-image-size" : 0.18,
          "shadow-image-size" : 0.2,

          "accuracy-radius-color": "rgba(255,0,0,0.2)",
          "accuracy-radius-border-color": "rgba(255,0,255,0.6)"
      }
    }
  ]
}