Vector Tile Style

URL:
https://<root>/<serviceName>/VectorTileServer/resources/style
Methods:
GET
Version Introduced:
10.4

Description

This resource returns styles for vector tiles in Mapbox GL Style specification version 8. The response for this styles resource includes the sprite and glyphs properties, with a relative path to the Vector Tile Sprite and Vector Tile Font resources. It also includes the version property, which represents the version of the style specification.

Example usage

Note: This is an example URL only and is not an active link to an existing attachment.

https://services.myserver.com/arcgis/rest/services/Hosted/World/VectorTileServer/resources/style

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
{
  "version": <version>,
   "sprite": "../sprites/sprite",
   "glyphs": "../fonts/{fontstack}/{range}.pbf",
   "sources": {...},
   "layers": [...]
  }

JSON Response example

Use dark colors for code blocksCopy
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
{
   "version": 8,
   "sprite": "../sprites/sprite",
   "glyphs": "../fonts/{fontstack}/{range}.pbf",
   "sources": {
       "esri": {
           "type": "vector",
           "url": "../../"
       }
   },
   "layers": [
       {
           "id": "Graduated Color/GraduatedColor_poly/482025.000000 - 2135252.000000",
           "type": "fill",
           "source": "esri",
           "source-layer": "GraduatedColor_poly",
           "filter": [
               "==",
               "_symbol",
               0
           ],
           "layout": {},
           "paint": {
               "fill-color": "#FFFF80",
               "fill-outline-color": "#6E6E6E"
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_poly/2135252.000001 - 4790311.000000",
           "type": "fill",
           "source": "esri",
           "source-layer": "GraduatedColor_poly",
           "filter": [
               "==",
               "_symbol",
               1
           ],
           "layout": {},
           "paint": {
               "fill-color": "#FAD155",
               "fill-outline-color": "#6E6E6E"
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_poly/4790311.000001 - 9866640.000000",
           "type": "fill",
           "source": "esri",
           "source-layer": "GraduatedColor_poly",
           "filter": [
               "==",
               "_symbol",
               2
           ],
           "layout": {},
           "paint": {
               "fill-color": "#F2A72E",
               "fill-outline-color": "#6E6E6E"
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_poly/9866640.000001 - 20127338.000000",
           "type": "fill",
           "source": "esri",
           "source-layer": "GraduatedColor_poly",
           "filter": [
               "==",
               "_symbol",
               3
           ],
           "layout": {},
           "paint": {
               "fill-color": "#AD5313",
               "fill-outline-color": "#6E6E6E"
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_poly/20127338.000001 - 33090214.000000",
           "type": "fill",
           "source": "esri",
           "source-layer": "GraduatedColor_poly",
           "filter": [
               "==",
               "_symbol",
               4
           ],
           "layout": {},
           "paint": {
               "fill-color": "#6B0000",
               "fill-outline-color": "#6E6E6E"
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_line/0.012504 - 4.886840",
           "type": "line",
           "source": "esri",
           "source-layer": "GraduatedColor_line",
           "filter": [
               "==",
               "_symbol",
               0
           ],
           "layout": {
               "line-cap": "round",
               "line-join": "round"
           },
           "paint": {
               "line-color": "#FFFF80",
               "line-width": 1
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_line/4.886841 - 10.196044",
           "type": "line",
           "source": "esri",
           "source-layer": "GraduatedColor_line",
           "filter": [
               "==",
               "_symbol",
               1
           ],
           "layout": {
               "line-cap": "round",
               "line-join": "round"
           },
           "paint": {
               "line-color": "#FAD155",
               "line-width": 1
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_line/10.196045 - 20.520850",
           "type": "line",
           "source": "esri",
           "source-layer": "GraduatedColor_line",
           "filter": [
               "==",
               "_symbol",
               2
           ],
           "layout": {
               "line-cap": "round",
               "line-join": "round"
           },
           "paint": {
               "line-color": "#F2A72E",
               "line-width": 1
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_line/20.520851 - 39.175259",
           "type": "line",
           "source": "esri",
           "source-layer": "GraduatedColor_line",
           "filter": [
               "==",
               "_symbol",
               3
           ],
           "layout": {
               "line-cap": "round",
               "line-join": "round"
           },
           "paint": {
               "line-color": "#AD5313",
               "line-width": 1
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_line/39.175260 - 76.515412",
           "type": "line",
           "source": "esri",
           "source-layer": "GraduatedColor_line",
           "filter": [
               "==",
               "_symbol",
               4
           ],
           "layout": {
               "line-cap": "round",
               "line-join": "round"
           },
           "paint": {
               "line-color": "#6B0000",
               "line-width": 1
           }
       },
       {
           "id": "Graduated Color/GraduatedColor_point/-99 - 190",
           "type": "symbol",
           "source": "esri",
           "source-layer": "GraduatedColor_point",
           "filter": [
               "==",
               "_symbol",
               0
           ],
           "layout": {
               "symbol-avoid-edges": true,
               "icon-image": "Graduated Color/GraduatedColor_point/-99 - 190",
               "icon-padding": 1
           },
           "paint": {}
       },
       {
           "id": "Graduated Color/GraduatedColor_point/191 - 803",
           "type": "symbol",
           "source": "esri",
           "source-layer": "GraduatedColor_point",
           "filter": [
               "==",
               "_symbol",
               1
           ],
           "layout": {
               "symbol-avoid-edges": true,
               "icon-image": "Graduated Color/GraduatedColor_point/191 - 803",
               "icon-padding": 1
           },
           "paint": {}
       },
       {
           "id": "Graduated Color/GraduatedColor_point/804 - 1680",
           "type": "symbol",
           "source": "esri",
           "source-layer": "GraduatedColor_point",
           "filter": [
               "==",
               "_symbol",
               2
           ],
           "layout": {
               "symbol-avoid-edges": true,
               "icon-image": "Graduated Color/GraduatedColor_point/804 - 1680",
               "icon-padding": 1
           },
           "paint": {}
       },
       {
           "id": "Graduated Color/GraduatedColor_point/1681 - 4687",
           "type": "symbol",
           "source": "esri",
           "source-layer": "GraduatedColor_point",
           "filter": [
               "==",
               "_symbol",
               3
           ],
           "layout": {
               "symbol-avoid-edges": true,
               "icon-image": "Graduated Color/GraduatedColor_point/1681 - 4687",
               "icon-padding": 1
           },
           "paint": {}
       },
       {
           "id": "Graduated Color/GraduatedColor_point/4688 - 6989",
           "type": "symbol",
           "source": "esri",
           "source-layer": "GraduatedColor_point",
           "filter": [
               "==",
               "_symbol",
               4
           ],
           "layout": {
               "symbol-avoid-edges": true,
               "icon-image": "Graduated Color/GraduatedColor_point/4688 - 6989",
               "icon-padding": 1
           },
           "paint": {}
       }
   ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.