@ndwnu/map 2.1.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -2
- package/fesm2022/ndwnu-map.mjs +1226 -153
- package/fesm2022/ndwnu-map.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/sprites/custom_ndw.json +3628 -0
- package/src/assets/sprites/custom_ndw.png +0 -0
- package/src/assets/sprites/custom_ndw@2x.json +3628 -0
- package/src/assets/sprites/custom_ndw@2x.png +0 -0
- package/src/assets/sprites/sdf.json +834 -0
- package/src/assets/sprites/sdf.png +0 -0
- package/src/assets/sprites/sdf@2x.json +834 -0
- package/src/assets/sprites/sdf@2x.png +0 -0
- package/src/lib/style/style.json +801 -2
- package/types/ndwnu-map.d.ts +2 -1
package/src/lib/style/style.json
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"id": "sdf",
|
|
19
|
-
"url": "https://
|
|
19
|
+
"url": "https://design.ndw.nu/map-storybook/assets/sprites/sdf"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"id": "custom",
|
|
23
|
-
"url": "https://
|
|
23
|
+
"url": "https://design.ndw.nu/map-storybook/assets/sprites/custom_ndw"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"glyphs": "https://maps.ndw.nu/styles/glyphs/{fontstack}/{range}.pbf",
|
|
@@ -83,6 +83,13 @@
|
|
|
83
83
|
"ndw-wkd-parking-areas": {
|
|
84
84
|
"type": "vector",
|
|
85
85
|
"url": "https://maps.ndw.nu/api/v1/wkdParkingAreas/latest/mbtiles/segments/"
|
|
86
|
+
},
|
|
87
|
+
"openmaptiles": {
|
|
88
|
+
"type": "vector",
|
|
89
|
+
"url": "https://maps.ndw.nu/api/v1/osm/latest/mbtiles/osm/",
|
|
90
|
+
"minzoom": 0,
|
|
91
|
+
"maxzoom": 14,
|
|
92
|
+
"attribution": "<a href='https://www.openstreetmap.org/copyright'>© OpenStreetMap</a>"
|
|
86
93
|
}
|
|
87
94
|
},
|
|
88
95
|
"layers": [
|
|
@@ -2107,6 +2114,676 @@
|
|
|
2107
2114
|
}
|
|
2108
2115
|
},
|
|
2109
2116
|
|
|
2117
|
+
{
|
|
2118
|
+
"id": "osm-road-sections-casing",
|
|
2119
|
+
"type": "line",
|
|
2120
|
+
"source": "openmaptiles",
|
|
2121
|
+
"source-layer": "transportation",
|
|
2122
|
+
"metadata": {
|
|
2123
|
+
"group": "osm",
|
|
2124
|
+
"sub-group": "osm-road-sections",
|
|
2125
|
+
"type": "context",
|
|
2126
|
+
"legend-name": "OSM Wegvakken omlijning",
|
|
2127
|
+
"desc": "OpenStreetMap wegen omlijning",
|
|
2128
|
+
"insert-before": "background"
|
|
2129
|
+
},
|
|
2130
|
+
"filter": ["!in", "class", "path", "track", "rail", "transit", "ferry"],
|
|
2131
|
+
"layout": {
|
|
2132
|
+
"visibility": "none",
|
|
2133
|
+
"line-cap": "round",
|
|
2134
|
+
"line-join": "round",
|
|
2135
|
+
"line-sort-key": [
|
|
2136
|
+
"match",
|
|
2137
|
+
["get", "class"],
|
|
2138
|
+
"motorway",
|
|
2139
|
+
7,
|
|
2140
|
+
"trunk",
|
|
2141
|
+
6,
|
|
2142
|
+
"primary",
|
|
2143
|
+
5,
|
|
2144
|
+
"secondary",
|
|
2145
|
+
4,
|
|
2146
|
+
"tertiary",
|
|
2147
|
+
3,
|
|
2148
|
+
"minor",
|
|
2149
|
+
2,
|
|
2150
|
+
"service",
|
|
2151
|
+
1,
|
|
2152
|
+
0
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2155
|
+
"paint": {
|
|
2156
|
+
"line-color": [
|
|
2157
|
+
"match",
|
|
2158
|
+
["get", "class"],
|
|
2159
|
+
"motorway",
|
|
2160
|
+
"#DAAD3A",
|
|
2161
|
+
"trunk",
|
|
2162
|
+
"#DAAD3A",
|
|
2163
|
+
"primary",
|
|
2164
|
+
"#DAAD3A",
|
|
2165
|
+
"secondary",
|
|
2166
|
+
"#E2C16C",
|
|
2167
|
+
"tertiary",
|
|
2168
|
+
"#E5CA85",
|
|
2169
|
+
"minor",
|
|
2170
|
+
"hsl(192, 5%, 82%)",
|
|
2171
|
+
"service",
|
|
2172
|
+
"hsl(192, 5%, 82%)",
|
|
2173
|
+
"hsl(0, 0%, 100%)"
|
|
2174
|
+
],
|
|
2175
|
+
"line-width": [
|
|
2176
|
+
"interpolate",
|
|
2177
|
+
["exponential", 1.1],
|
|
2178
|
+
["zoom"],
|
|
2179
|
+
10,
|
|
2180
|
+
[
|
|
2181
|
+
"match",
|
|
2182
|
+
["get", "class"],
|
|
2183
|
+
"motorway",
|
|
2184
|
+
3.5,
|
|
2185
|
+
"trunk",
|
|
2186
|
+
3.5,
|
|
2187
|
+
"primary",
|
|
2188
|
+
3.5,
|
|
2189
|
+
"secondary",
|
|
2190
|
+
2.5,
|
|
2191
|
+
"tertiary",
|
|
2192
|
+
2.5,
|
|
2193
|
+
"minor",
|
|
2194
|
+
0,
|
|
2195
|
+
"service",
|
|
2196
|
+
0,
|
|
2197
|
+
0
|
|
2198
|
+
],
|
|
2199
|
+
13,
|
|
2200
|
+
[
|
|
2201
|
+
"match",
|
|
2202
|
+
["get", "class"],
|
|
2203
|
+
"motorway",
|
|
2204
|
+
7.5,
|
|
2205
|
+
"trunk",
|
|
2206
|
+
6,
|
|
2207
|
+
"primary",
|
|
2208
|
+
6,
|
|
2209
|
+
"secondary",
|
|
2210
|
+
6,
|
|
2211
|
+
"tertiary",
|
|
2212
|
+
6,
|
|
2213
|
+
"minor",
|
|
2214
|
+
4.5,
|
|
2215
|
+
"service",
|
|
2216
|
+
3.5,
|
|
2217
|
+
0
|
|
2218
|
+
],
|
|
2219
|
+
15,
|
|
2220
|
+
[
|
|
2221
|
+
"match",
|
|
2222
|
+
["get", "class"],
|
|
2223
|
+
"motorway",
|
|
2224
|
+
12.5,
|
|
2225
|
+
"trunk",
|
|
2226
|
+
12,
|
|
2227
|
+
"primary",
|
|
2228
|
+
11,
|
|
2229
|
+
"secondary",
|
|
2230
|
+
9,
|
|
2231
|
+
"tertiary",
|
|
2232
|
+
9,
|
|
2233
|
+
"minor",
|
|
2234
|
+
8,
|
|
2235
|
+
"service",
|
|
2236
|
+
5,
|
|
2237
|
+
0
|
|
2238
|
+
],
|
|
2239
|
+
20,
|
|
2240
|
+
[
|
|
2241
|
+
"match",
|
|
2242
|
+
["get", "class"],
|
|
2243
|
+
"motorway",
|
|
2244
|
+
27,
|
|
2245
|
+
"trunk",
|
|
2246
|
+
27,
|
|
2247
|
+
"primary",
|
|
2248
|
+
25,
|
|
2249
|
+
"secondary",
|
|
2250
|
+
23,
|
|
2251
|
+
"tertiary",
|
|
2252
|
+
23,
|
|
2253
|
+
"minor",
|
|
2254
|
+
22,
|
|
2255
|
+
"service",
|
|
2256
|
+
20,
|
|
2257
|
+
0
|
|
2258
|
+
]
|
|
2259
|
+
],
|
|
2260
|
+
"line-opacity": 1
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"id": "osm-road-sections-fill",
|
|
2265
|
+
"type": "line",
|
|
2266
|
+
"source": "openmaptiles",
|
|
2267
|
+
"source-layer": "transportation",
|
|
2268
|
+
"metadata": {
|
|
2269
|
+
"group": "osm",
|
|
2270
|
+
"sub-group": "osm-road-sections",
|
|
2271
|
+
"type": "context",
|
|
2272
|
+
"legend-name": "OSM Wegvakken vulling",
|
|
2273
|
+
"desc": "OpenStreetMap wegen vulling",
|
|
2274
|
+
"insert-before": "background"
|
|
2275
|
+
},
|
|
2276
|
+
"filter": ["!in", "class", "path", "track", "rail", "transit", "ferry"],
|
|
2277
|
+
"layout": {
|
|
2278
|
+
"visibility": "none",
|
|
2279
|
+
"line-cap": "round",
|
|
2280
|
+
"line-join": "round",
|
|
2281
|
+
"line-sort-key": [
|
|
2282
|
+
"match",
|
|
2283
|
+
["get", "class"],
|
|
2284
|
+
"motorway",
|
|
2285
|
+
7,
|
|
2286
|
+
"trunk",
|
|
2287
|
+
6,
|
|
2288
|
+
"primary",
|
|
2289
|
+
5,
|
|
2290
|
+
"secondary",
|
|
2291
|
+
4,
|
|
2292
|
+
"tertiary",
|
|
2293
|
+
3,
|
|
2294
|
+
"minor",
|
|
2295
|
+
2,
|
|
2296
|
+
"service",
|
|
2297
|
+
1,
|
|
2298
|
+
0
|
|
2299
|
+
]
|
|
2300
|
+
},
|
|
2301
|
+
"paint": {
|
|
2302
|
+
"line-color": [
|
|
2303
|
+
"match",
|
|
2304
|
+
["get", "class"],
|
|
2305
|
+
"motorway",
|
|
2306
|
+
"hsl(43, 93%, 88%)",
|
|
2307
|
+
"trunk",
|
|
2308
|
+
"hsl(43, 93%, 88%)",
|
|
2309
|
+
"primary",
|
|
2310
|
+
"hsl(43, 93%, 88%)",
|
|
2311
|
+
"secondary",
|
|
2312
|
+
"hsl(44, 42%, 94%)",
|
|
2313
|
+
"tertiary",
|
|
2314
|
+
"hsl(44, 42%, 94%)",
|
|
2315
|
+
"minor",
|
|
2316
|
+
"#ffffff",
|
|
2317
|
+
"service",
|
|
2318
|
+
"#ffffff",
|
|
2319
|
+
"hsl(0, 0%, 100%)"
|
|
2320
|
+
],
|
|
2321
|
+
"line-width": [
|
|
2322
|
+
"interpolate",
|
|
2323
|
+
["exponential", 1.1],
|
|
2324
|
+
["zoom"],
|
|
2325
|
+
10,
|
|
2326
|
+
[
|
|
2327
|
+
"match",
|
|
2328
|
+
["get", "class"],
|
|
2329
|
+
"motorway",
|
|
2330
|
+
2.5,
|
|
2331
|
+
"trunk",
|
|
2332
|
+
2.5,
|
|
2333
|
+
"primary",
|
|
2334
|
+
2.5,
|
|
2335
|
+
"secondary",
|
|
2336
|
+
1.5,
|
|
2337
|
+
"tertiary",
|
|
2338
|
+
1.5,
|
|
2339
|
+
"minor",
|
|
2340
|
+
1,
|
|
2341
|
+
0
|
|
2342
|
+
],
|
|
2343
|
+
13,
|
|
2344
|
+
[
|
|
2345
|
+
"match",
|
|
2346
|
+
["get", "class"],
|
|
2347
|
+
"motorway",
|
|
2348
|
+
6,
|
|
2349
|
+
"trunk",
|
|
2350
|
+
4,
|
|
2351
|
+
"primary",
|
|
2352
|
+
4,
|
|
2353
|
+
"secondary",
|
|
2354
|
+
4.1,
|
|
2355
|
+
"tertiary",
|
|
2356
|
+
4.1,
|
|
2357
|
+
"minor",
|
|
2358
|
+
2.7,
|
|
2359
|
+
"service",
|
|
2360
|
+
1.5,
|
|
2361
|
+
0
|
|
2362
|
+
],
|
|
2363
|
+
15,
|
|
2364
|
+
[
|
|
2365
|
+
"match",
|
|
2366
|
+
["get", "class"],
|
|
2367
|
+
"motorway",
|
|
2368
|
+
10,
|
|
2369
|
+
"trunk",
|
|
2370
|
+
9.5,
|
|
2371
|
+
"primary",
|
|
2372
|
+
8.4,
|
|
2373
|
+
"secondary",
|
|
2374
|
+
6.4,
|
|
2375
|
+
"tertiary",
|
|
2376
|
+
6.4,
|
|
2377
|
+
"minor",
|
|
2378
|
+
5.4,
|
|
2379
|
+
"service",
|
|
2380
|
+
4,
|
|
2381
|
+
0
|
|
2382
|
+
],
|
|
2383
|
+
20,
|
|
2384
|
+
[
|
|
2385
|
+
"match",
|
|
2386
|
+
["get", "class"],
|
|
2387
|
+
"motorway",
|
|
2388
|
+
24,
|
|
2389
|
+
"trunk",
|
|
2390
|
+
24,
|
|
2391
|
+
"primary",
|
|
2392
|
+
22,
|
|
2393
|
+
"secondary",
|
|
2394
|
+
20,
|
|
2395
|
+
"tertiary",
|
|
2396
|
+
18,
|
|
2397
|
+
"minor",
|
|
2398
|
+
17,
|
|
2399
|
+
"service",
|
|
2400
|
+
15,
|
|
2401
|
+
0
|
|
2402
|
+
]
|
|
2403
|
+
],
|
|
2404
|
+
"line-opacity": 1
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"id": "osm-road-sections-single",
|
|
2409
|
+
"type": "line",
|
|
2410
|
+
"source": "openmaptiles",
|
|
2411
|
+
"source-layer": "transportation",
|
|
2412
|
+
"metadata": {
|
|
2413
|
+
"group": "osm",
|
|
2414
|
+
"sub-group": "osm-road-sections",
|
|
2415
|
+
"type": "context",
|
|
2416
|
+
"legend-name": "OSM Fietspaden en voetpaden",
|
|
2417
|
+
"desc": "OpenStreetMap paden en tracks",
|
|
2418
|
+
"insert-before": "background"
|
|
2419
|
+
},
|
|
2420
|
+
"filter": ["in", "class", "path", "track"],
|
|
2421
|
+
"layout": {
|
|
2422
|
+
"visibility": "none",
|
|
2423
|
+
"line-cap": "round",
|
|
2424
|
+
"line-join": "round"
|
|
2425
|
+
},
|
|
2426
|
+
"paint": {
|
|
2427
|
+
"line-color": [
|
|
2428
|
+
"match",
|
|
2429
|
+
["get", "class"],
|
|
2430
|
+
"path",
|
|
2431
|
+
"hsl(19, 50%, 90%)",
|
|
2432
|
+
"track",
|
|
2433
|
+
"#f3e4d3",
|
|
2434
|
+
"#ffffff"
|
|
2435
|
+
],
|
|
2436
|
+
"line-width": [
|
|
2437
|
+
"interpolate",
|
|
2438
|
+
["exponential", 1.1],
|
|
2439
|
+
["zoom"],
|
|
2440
|
+
10,
|
|
2441
|
+
0,
|
|
2442
|
+
13,
|
|
2443
|
+
1.5,
|
|
2444
|
+
15,
|
|
2445
|
+
3.5,
|
|
2446
|
+
20,
|
|
2447
|
+
10
|
|
2448
|
+
],
|
|
2449
|
+
"line-opacity": 1
|
|
2450
|
+
}
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"id": "osm-road-sections-casing-rel",
|
|
2454
|
+
"type": "line",
|
|
2455
|
+
"source": "openmaptiles",
|
|
2456
|
+
"source-layer": "transportation",
|
|
2457
|
+
"metadata": {
|
|
2458
|
+
"group": "osm",
|
|
2459
|
+
"sub-group": "osm-road-sections",
|
|
2460
|
+
"type": "relevant",
|
|
2461
|
+
"legend-name": "OSM Wegvakken omlijning",
|
|
2462
|
+
"desc": "OpenStreetMap wegen omlijning relevant",
|
|
2463
|
+
"insert-before": "background"
|
|
2464
|
+
},
|
|
2465
|
+
"filter": ["!in", "class", "path", "track", "rail", "transit", "ferry"],
|
|
2466
|
+
"layout": {
|
|
2467
|
+
"visibility": "none",
|
|
2468
|
+
"line-cap": "round",
|
|
2469
|
+
"line-join": "round",
|
|
2470
|
+
"line-sort-key": [
|
|
2471
|
+
"match",
|
|
2472
|
+
["get", "class"],
|
|
2473
|
+
"motorway",
|
|
2474
|
+
7,
|
|
2475
|
+
"trunk",
|
|
2476
|
+
6,
|
|
2477
|
+
"primary",
|
|
2478
|
+
5,
|
|
2479
|
+
"secondary",
|
|
2480
|
+
4,
|
|
2481
|
+
"tertiary",
|
|
2482
|
+
3,
|
|
2483
|
+
"minor",
|
|
2484
|
+
2,
|
|
2485
|
+
"service",
|
|
2486
|
+
1,
|
|
2487
|
+
0
|
|
2488
|
+
]
|
|
2489
|
+
},
|
|
2490
|
+
"paint": {
|
|
2491
|
+
"line-color": [
|
|
2492
|
+
"match",
|
|
2493
|
+
["get", "class"],
|
|
2494
|
+
"motorway",
|
|
2495
|
+
"#dd5208",
|
|
2496
|
+
"trunk",
|
|
2497
|
+
"#dd5208",
|
|
2498
|
+
"primary",
|
|
2499
|
+
"#dd5208",
|
|
2500
|
+
"secondary",
|
|
2501
|
+
"#DC7019",
|
|
2502
|
+
"tertiary",
|
|
2503
|
+
"#DB9E32",
|
|
2504
|
+
"minor",
|
|
2505
|
+
"#E3C474",
|
|
2506
|
+
"service",
|
|
2507
|
+
"hsl(192, 5%, 72%)",
|
|
2508
|
+
"hsl(0, 0%, 100%)"
|
|
2509
|
+
],
|
|
2510
|
+
"line-width": [
|
|
2511
|
+
"interpolate",
|
|
2512
|
+
["exponential", 1.1],
|
|
2513
|
+
["zoom"],
|
|
2514
|
+
10,
|
|
2515
|
+
[
|
|
2516
|
+
"match",
|
|
2517
|
+
["get", "class"],
|
|
2518
|
+
"motorway",
|
|
2519
|
+
3.5,
|
|
2520
|
+
"trunk",
|
|
2521
|
+
3.5,
|
|
2522
|
+
"primary",
|
|
2523
|
+
3.5,
|
|
2524
|
+
"secondary",
|
|
2525
|
+
2.5,
|
|
2526
|
+
"tertiary",
|
|
2527
|
+
2.5,
|
|
2528
|
+
"minor",
|
|
2529
|
+
0,
|
|
2530
|
+
"service",
|
|
2531
|
+
0,
|
|
2532
|
+
0
|
|
2533
|
+
],
|
|
2534
|
+
13,
|
|
2535
|
+
[
|
|
2536
|
+
"match",
|
|
2537
|
+
["get", "class"],
|
|
2538
|
+
"motorway",
|
|
2539
|
+
7.5,
|
|
2540
|
+
"trunk",
|
|
2541
|
+
6,
|
|
2542
|
+
"primary",
|
|
2543
|
+
6,
|
|
2544
|
+
"secondary",
|
|
2545
|
+
6,
|
|
2546
|
+
"tertiary",
|
|
2547
|
+
6,
|
|
2548
|
+
"minor",
|
|
2549
|
+
4.5,
|
|
2550
|
+
"service",
|
|
2551
|
+
3.5,
|
|
2552
|
+
0
|
|
2553
|
+
],
|
|
2554
|
+
15,
|
|
2555
|
+
[
|
|
2556
|
+
"match",
|
|
2557
|
+
["get", "class"],
|
|
2558
|
+
"motorway",
|
|
2559
|
+
12.5,
|
|
2560
|
+
"trunk",
|
|
2561
|
+
12,
|
|
2562
|
+
"primary",
|
|
2563
|
+
11,
|
|
2564
|
+
"secondary",
|
|
2565
|
+
9,
|
|
2566
|
+
"tertiary",
|
|
2567
|
+
9,
|
|
2568
|
+
"minor",
|
|
2569
|
+
8,
|
|
2570
|
+
"service",
|
|
2571
|
+
5,
|
|
2572
|
+
0
|
|
2573
|
+
],
|
|
2574
|
+
20,
|
|
2575
|
+
[
|
|
2576
|
+
"match",
|
|
2577
|
+
["get", "class"],
|
|
2578
|
+
"motorway",
|
|
2579
|
+
27,
|
|
2580
|
+
"trunk",
|
|
2581
|
+
27,
|
|
2582
|
+
"primary",
|
|
2583
|
+
25,
|
|
2584
|
+
"secondary",
|
|
2585
|
+
23,
|
|
2586
|
+
"tertiary",
|
|
2587
|
+
23,
|
|
2588
|
+
"minor",
|
|
2589
|
+
22,
|
|
2590
|
+
"service",
|
|
2591
|
+
20,
|
|
2592
|
+
0
|
|
2593
|
+
]
|
|
2594
|
+
],
|
|
2595
|
+
"line-opacity": 1
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
"id": "osm-road-sections-fill-rel",
|
|
2600
|
+
"type": "line",
|
|
2601
|
+
"source": "openmaptiles",
|
|
2602
|
+
"source-layer": "transportation",
|
|
2603
|
+
"metadata": {
|
|
2604
|
+
"group": "osm",
|
|
2605
|
+
"sub-group": "osm-road-sections",
|
|
2606
|
+
"type": "relevant",
|
|
2607
|
+
"legend-name": "OSM Wegvakken vulling",
|
|
2608
|
+
"desc": "OpenStreetMap wegen vulling relevant",
|
|
2609
|
+
"insert-before": "background"
|
|
2610
|
+
},
|
|
2611
|
+
"filter": ["!in", "class", "path", "track", "rail", "transit", "ferry"],
|
|
2612
|
+
"layout": {
|
|
2613
|
+
"visibility": "none",
|
|
2614
|
+
"line-cap": "round",
|
|
2615
|
+
"line-join": "round",
|
|
2616
|
+
"line-sort-key": [
|
|
2617
|
+
"match",
|
|
2618
|
+
["get", "class"],
|
|
2619
|
+
"motorway",
|
|
2620
|
+
7,
|
|
2621
|
+
"trunk",
|
|
2622
|
+
6,
|
|
2623
|
+
"primary",
|
|
2624
|
+
5,
|
|
2625
|
+
"secondary",
|
|
2626
|
+
4,
|
|
2627
|
+
"tertiary",
|
|
2628
|
+
3,
|
|
2629
|
+
"minor",
|
|
2630
|
+
2,
|
|
2631
|
+
"service",
|
|
2632
|
+
1,
|
|
2633
|
+
0
|
|
2634
|
+
]
|
|
2635
|
+
},
|
|
2636
|
+
"paint": {
|
|
2637
|
+
"line-color": [
|
|
2638
|
+
"match",
|
|
2639
|
+
["get", "class"],
|
|
2640
|
+
"motorway",
|
|
2641
|
+
"#DB9E32",
|
|
2642
|
+
"trunk",
|
|
2643
|
+
"#DB9E32",
|
|
2644
|
+
"primary",
|
|
2645
|
+
"#DB9E32",
|
|
2646
|
+
"secondary",
|
|
2647
|
+
"#E3C474",
|
|
2648
|
+
"tertiary",
|
|
2649
|
+
"#E3C474",
|
|
2650
|
+
"minor",
|
|
2651
|
+
"#EDDBAF",
|
|
2652
|
+
"service",
|
|
2653
|
+
"#ffffff",
|
|
2654
|
+
"hsl(0, 0%, 100%)"
|
|
2655
|
+
],
|
|
2656
|
+
"line-width": [
|
|
2657
|
+
"interpolate",
|
|
2658
|
+
["exponential", 1.1],
|
|
2659
|
+
["zoom"],
|
|
2660
|
+
10,
|
|
2661
|
+
[
|
|
2662
|
+
"match",
|
|
2663
|
+
["get", "class"],
|
|
2664
|
+
"motorway",
|
|
2665
|
+
2.5,
|
|
2666
|
+
"trunk",
|
|
2667
|
+
2.5,
|
|
2668
|
+
"primary",
|
|
2669
|
+
2.5,
|
|
2670
|
+
"secondary",
|
|
2671
|
+
1.5,
|
|
2672
|
+
"tertiary",
|
|
2673
|
+
1.5,
|
|
2674
|
+
"minor",
|
|
2675
|
+
1,
|
|
2676
|
+
0
|
|
2677
|
+
],
|
|
2678
|
+
13,
|
|
2679
|
+
[
|
|
2680
|
+
"match",
|
|
2681
|
+
["get", "class"],
|
|
2682
|
+
"motorway",
|
|
2683
|
+
6,
|
|
2684
|
+
"trunk",
|
|
2685
|
+
4,
|
|
2686
|
+
"primary",
|
|
2687
|
+
4,
|
|
2688
|
+
"secondary",
|
|
2689
|
+
4.1,
|
|
2690
|
+
"tertiary",
|
|
2691
|
+
4.1,
|
|
2692
|
+
"minor",
|
|
2693
|
+
2.7,
|
|
2694
|
+
"service",
|
|
2695
|
+
1.5,
|
|
2696
|
+
0
|
|
2697
|
+
],
|
|
2698
|
+
15,
|
|
2699
|
+
[
|
|
2700
|
+
"match",
|
|
2701
|
+
["get", "class"],
|
|
2702
|
+
"motorway",
|
|
2703
|
+
10,
|
|
2704
|
+
"trunk",
|
|
2705
|
+
9.5,
|
|
2706
|
+
"primary",
|
|
2707
|
+
8.4,
|
|
2708
|
+
"secondary",
|
|
2709
|
+
6.4,
|
|
2710
|
+
"tertiary",
|
|
2711
|
+
6.4,
|
|
2712
|
+
"minor",
|
|
2713
|
+
5.4,
|
|
2714
|
+
"service",
|
|
2715
|
+
4,
|
|
2716
|
+
0
|
|
2717
|
+
],
|
|
2718
|
+
20,
|
|
2719
|
+
[
|
|
2720
|
+
"match",
|
|
2721
|
+
["get", "class"],
|
|
2722
|
+
"motorway",
|
|
2723
|
+
24,
|
|
2724
|
+
"trunk",
|
|
2725
|
+
24,
|
|
2726
|
+
"primary",
|
|
2727
|
+
22,
|
|
2728
|
+
"secondary",
|
|
2729
|
+
20,
|
|
2730
|
+
"tertiary",
|
|
2731
|
+
18,
|
|
2732
|
+
"minor",
|
|
2733
|
+
17,
|
|
2734
|
+
"service",
|
|
2735
|
+
15,
|
|
2736
|
+
0
|
|
2737
|
+
]
|
|
2738
|
+
],
|
|
2739
|
+
"line-opacity": 1
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"id": "osm-road-sections-single-rel",
|
|
2744
|
+
"type": "line",
|
|
2745
|
+
"source": "openmaptiles",
|
|
2746
|
+
"source-layer": "transportation",
|
|
2747
|
+
"metadata": {
|
|
2748
|
+
"group": "osm",
|
|
2749
|
+
"sub-group": "osm-road-sections",
|
|
2750
|
+
"type": "relevant",
|
|
2751
|
+
"legend-name": "OSM Fietspaden en voetpaden",
|
|
2752
|
+
"desc": "OpenStreetMap paden en tracks relevant",
|
|
2753
|
+
"insert-before": "background"
|
|
2754
|
+
},
|
|
2755
|
+
"filter": ["in", "class", "path", "track"],
|
|
2756
|
+
"layout": {
|
|
2757
|
+
"visibility": "none",
|
|
2758
|
+
"line-cap": "round",
|
|
2759
|
+
"line-join": "round"
|
|
2760
|
+
},
|
|
2761
|
+
"paint": {
|
|
2762
|
+
"line-color": [
|
|
2763
|
+
"match",
|
|
2764
|
+
["get", "class"],
|
|
2765
|
+
"path",
|
|
2766
|
+
"hsl(19, 80%, 80%)",
|
|
2767
|
+
"track",
|
|
2768
|
+
"#f3e4d3",
|
|
2769
|
+
"#ffffff"
|
|
2770
|
+
],
|
|
2771
|
+
"line-width": [
|
|
2772
|
+
"interpolate",
|
|
2773
|
+
["exponential", 1.1],
|
|
2774
|
+
["zoom"],
|
|
2775
|
+
10,
|
|
2776
|
+
0,
|
|
2777
|
+
13,
|
|
2778
|
+
0.5,
|
|
2779
|
+
15,
|
|
2780
|
+
3.5,
|
|
2781
|
+
20,
|
|
2782
|
+
10
|
|
2783
|
+
],
|
|
2784
|
+
"line-opacity": 1
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2110
2787
|
{
|
|
2111
2788
|
"id": "brt-railway-center-line",
|
|
2112
2789
|
"type": "line",
|
|
@@ -2793,6 +3470,128 @@
|
|
|
2793
3470
|
}
|
|
2794
3471
|
},
|
|
2795
3472
|
|
|
3473
|
+
{
|
|
3474
|
+
"id": "osm-road-names",
|
|
3475
|
+
"type": "symbol",
|
|
3476
|
+
"source": "openmaptiles",
|
|
3477
|
+
"source-layer": "transportation_name",
|
|
3478
|
+
"metadata": {
|
|
3479
|
+
"group": "osm",
|
|
3480
|
+
"sub-group": "osm-road-names",
|
|
3481
|
+
"type": "context",
|
|
3482
|
+
"legend-name": "OSM Weg namen",
|
|
3483
|
+
"desc": "OpenStreetMap straatnamen",
|
|
3484
|
+
"insert-before": "label"
|
|
3485
|
+
},
|
|
3486
|
+
"minzoom": 12,
|
|
3487
|
+
"filter": ["all", ["!in", "class", "path", "track", "motorway", "trunk", "primary"]],
|
|
3488
|
+
"layout": {
|
|
3489
|
+
"visibility": "none",
|
|
3490
|
+
"symbol-sort-key": [
|
|
3491
|
+
"match",
|
|
3492
|
+
["get", "class"],
|
|
3493
|
+
"secondary",
|
|
3494
|
+
5,
|
|
3495
|
+
"tertiary",
|
|
3496
|
+
4,
|
|
3497
|
+
"minor",
|
|
3498
|
+
3,
|
|
3499
|
+
"service",
|
|
3500
|
+
2,
|
|
3501
|
+
0
|
|
3502
|
+
],
|
|
3503
|
+
"symbol-placement": "line",
|
|
3504
|
+
"text-field": "{name}",
|
|
3505
|
+
"text-max-angle": 50,
|
|
3506
|
+
"text-padding": 30,
|
|
3507
|
+
"text-font": [
|
|
3508
|
+
"case",
|
|
3509
|
+
["==", ["get", "class"], "secondary"],
|
|
3510
|
+
["literal", ["Noto Sans Bold"]],
|
|
3511
|
+
["literal", ["Noto Sans Regular"]]
|
|
3512
|
+
],
|
|
3513
|
+
"text-size": [
|
|
3514
|
+
"match",
|
|
3515
|
+
["get", "class"],
|
|
3516
|
+
"secondary",
|
|
3517
|
+
14,
|
|
3518
|
+
"tertiary",
|
|
3519
|
+
12,
|
|
3520
|
+
"minor",
|
|
3521
|
+
11,
|
|
3522
|
+
"service",
|
|
3523
|
+
11,
|
|
3524
|
+
0
|
|
3525
|
+
],
|
|
3526
|
+
"text-rotation-alignment": "map"
|
|
3527
|
+
},
|
|
3528
|
+
"paint": {
|
|
3529
|
+
"text-color": "hsl(196, 13%, 29%)",
|
|
3530
|
+
"text-halo-color": "#f8f4f0",
|
|
3531
|
+
"text-halo-width": 1.5
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"id": "osm-road-names-number",
|
|
3536
|
+
"type": "symbol",
|
|
3537
|
+
"source": "openmaptiles",
|
|
3538
|
+
"source-layer": "transportation_name",
|
|
3539
|
+
"metadata": {
|
|
3540
|
+
"group": "osm",
|
|
3541
|
+
"sub-group": "osm-road-names",
|
|
3542
|
+
"type": "context",
|
|
3543
|
+
"legend-name": "OSM Weg nummers",
|
|
3544
|
+
"desc": "OpenStreetMap A en N wegnummers",
|
|
3545
|
+
"insert-before": "label"
|
|
3546
|
+
},
|
|
3547
|
+
"minzoom": 6,
|
|
3548
|
+
"filter": [
|
|
3549
|
+
"all",
|
|
3550
|
+
["has", "ref"],
|
|
3551
|
+
["in", "class", "motorway", "trunk", "primary", "secondary"]
|
|
3552
|
+
],
|
|
3553
|
+
"layout": {
|
|
3554
|
+
"visibility": "none",
|
|
3555
|
+
"symbol-sort-key": [
|
|
3556
|
+
"match",
|
|
3557
|
+
["get", "class"],
|
|
3558
|
+
"motorway",
|
|
3559
|
+
7,
|
|
3560
|
+
"trunk",
|
|
3561
|
+
6,
|
|
3562
|
+
"primary",
|
|
3563
|
+
5,
|
|
3564
|
+
"secondary",
|
|
3565
|
+
4,
|
|
3566
|
+
0
|
|
3567
|
+
],
|
|
3568
|
+
"symbol-placement": "line",
|
|
3569
|
+
"symbol-spacing": ["interpolate", ["linear"], ["zoom"], 8, 400, 10, 250, 20, 500],
|
|
3570
|
+
"text-field": "{ref}",
|
|
3571
|
+
"text-max-angle": ["interpolate", ["linear"], ["zoom"], 6, 20, 8, 5, 20, 0],
|
|
3572
|
+
"text-padding": 8,
|
|
3573
|
+
"text-font": ["Noto Sans Bold"],
|
|
3574
|
+
"text-size": [
|
|
3575
|
+
"match",
|
|
3576
|
+
["get", "class"],
|
|
3577
|
+
"motorway",
|
|
3578
|
+
12,
|
|
3579
|
+
"trunk",
|
|
3580
|
+
11,
|
|
3581
|
+
"primary",
|
|
3582
|
+
11,
|
|
3583
|
+
"secondary",
|
|
3584
|
+
10,
|
|
3585
|
+
0
|
|
3586
|
+
],
|
|
3587
|
+
"text-rotation-alignment": "viewport"
|
|
3588
|
+
},
|
|
3589
|
+
"paint": {
|
|
3590
|
+
"text-color": "#f8f4f0",
|
|
3591
|
+
"text-halo-color": "hsl(196, 13%, 50%)",
|
|
3592
|
+
"text-halo-width": 30
|
|
3593
|
+
}
|
|
3594
|
+
},
|
|
2796
3595
|
{
|
|
2797
3596
|
"id": "brt-district-names",
|
|
2798
3597
|
"type": "symbol",
|