summaryrefslogtreecommitdiff
path: root/test/fixtures/offline_download/style.json
blob: 618afd45f0532131f6e22d9a6b7be102fd67dd02 (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
{
  "version": 8,
  "name": "Water",
  "sources": {
    "mapbox": {
      "type": "vector",
      "url": "http://127.0.0.1:3000/streets.json"
    },
    "radar": {
      "type": "image",
      "url":"http://127.0.0.1:3000/radar.gif",
      "coordinates": [
        [-180, -85.0511],
        [180, -85.0511],
        [180, 85.0511],
        [-180, 85.0511]
      ]
    }
  },
  "glyphs": "http://127.0.0.1:3000/{fontstack}/{range}.pbf",
  "sprite": "http://127.0.0.1:3000/sprite",
  "layers": [{
    "id": "background",
    "type": "background",
    "paint": {
      "background-color": "red"
    }
  }, {
    "id": "water",
    "type": "fill",
    "source": "mapbox",
    "source-layer": "water",
    "paint": {
      "fill-pattern": "noise"
    }
  }, {
    "id": "admin",
    "type": "symbol",
    "source": "mapbox",
    "source-layer": "admin",
    "layout": {
      "text-font": ["Helvetica"],
      "text-field": "Text"
    },
    "paint": {
      "text-color": "black",
      "text-halo-color": "white",
      "text-halo-width": 2
    }
  }]
}