summaryrefslogtreecommitdiff
path: root/metrics/tests/location_indicator/one_texture/style.json
blob: f44b698c05f16555cf7098d6c9e378e13991a45c (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"
        ]
      ]
    }
  },
  "center": [ 139.766707, 35.693055 ],
  "zoom": 16,
  "pitch" : 0,
  "bearing" : 42,
  "sources": {},
  "layers": [
    {
      "id": "background",
      "type": "background",
      "paint": {
        "background-color": "white"
      }
    },
    {
      "id": "puck123",
      "type": "location-indicator",
      "layout" : { "bearing" : 45,
          "bearing-image" : "puck",
          "perspective-compensation" : 1,
          "image-tilt-displacement" : 5
      },
      "paint" : {
          "accuracy-radius-transition": { "duration": 0, "delay": 0 },
          "bearing-image-size-transition": { "duration": 0, "delay": 0 },
          "top-image-size-transition": { "duration": 0, "delay": 0 },
          "shadow-image-size-transition": { "duration": 0, "delay": 0 },
          "accuracy-radius-color-transition": { "duration": 0, "delay": 0 },
          "accuracy-radius-border-color-transition": { "duration": 0, "delay": 0 },

          "location" : [ 35.693055, 139.766707, 0],
          "accuracy-radius": 90.0,
          "bearing-image-size" : 48,
          "top-image-size" : 16,
          "shadow-image-size" : 112,

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