summaryrefslogtreecommitdiff
path: root/test/fixtures/styles/icons.style.json
blob: 46adfbd408ba39e3e995c720a72d459c847ac20c (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
{
  "version": 3,
  "sources": {
    "mapbox": {
      "type": "vector",
      "url": "tiles/{z}-{x}-{y}.vector.pbf",
      "tileSize": 512,
      "maxZoom": 14
    }
  },
  "sprite": "sprites/outdoors",
  "layers": [
    {
      "id": "background",
      "type": "background",
      "style": {
        "background-color": "green"
      }
    },
    {
      "id": "poi",
      "source": "mapbox",
      "source-layer": "poi_label",
      "type": "icon",
      "filter": { "maki": "restaurant" },
      "render": {
        "icon-image": "{maki}-12",
        "icon-size": 12,
        "icon-allow-overlap": true
      }
    }
  ]
}