@ndwnu/map 2.1.0 → 3.0.0

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.
@@ -16,11 +16,11 @@
16
16
  },
17
17
  {
18
18
  "id": "sdf",
19
- "url": "https://maps.ndw.nu/styles/ndw-basemap/dev/sdf"
19
+ "url": "https://design.ndw.nu/map-storybook/assets/sprites/sdf"
20
20
  },
21
21
  {
22
22
  "id": "custom",
23
- "url": "https://maps.ndw.nu/styles/ndw-basemap/dev/custom_ndw"
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": [
@@ -2108,203 +2115,889 @@
2108
2115
  },
2109
2116
 
2110
2117
  {
2111
- "id": "brt-railway-center-line",
2118
+ "id": "osm-road-sections-casing",
2112
2119
  "type": "line",
2113
- "source": "pdok-brt",
2114
- "source-layer": "spoorbaandeellijn",
2115
- "minzoom": 9,
2120
+ "source": "openmaptiles",
2121
+ "source-layer": "transportation",
2116
2122
  "metadata": {
2117
- "group": "context-map",
2118
- "sub-group": "railway",
2123
+ "group": "osm",
2124
+ "sub-group": "osm-road-sections",
2119
2125
  "type": "context",
2120
- "legend-name": "Spoorlijnen",
2121
- "desc": "trein, metro, tram. beschikbaar van z9. Over de wegen heen.",
2122
- "insert-before": "lines-overlay"
2126
+ "legend-name": "OSM Wegvakken omlijning",
2127
+ "desc": "OpenStreetMap wegen omlijning",
2128
+ "insert-before": "background"
2123
2129
  },
2130
+ "filter": [
2131
+ "all",
2132
+ ["!in", "class", "path", "track", "rail", "transit", "ferry"],
2133
+ ["!=", "brunnel", "tunnel"]
2134
+ ],
2124
2135
  "layout": {
2125
- "visibility": "visible",
2136
+ "visibility": "none",
2126
2137
  "line-cap": "round",
2127
- "line-join": "round"
2138
+ "line-join": "round",
2139
+ "line-sort-key": [
2140
+ "match",
2141
+ ["get", "class"],
2142
+ "motorway",
2143
+ 7,
2144
+ "trunk",
2145
+ 6,
2146
+ "primary",
2147
+ 5,
2148
+ "secondary",
2149
+ 4,
2150
+ "tertiary",
2151
+ 3,
2152
+ "minor",
2153
+ 2,
2154
+ "service",
2155
+ 1,
2156
+ 0
2157
+ ]
2128
2158
  },
2129
2159
  "paint": {
2130
2160
  "line-color": [
2131
2161
  "match",
2132
- ["get", "vistext"],
2133
- "treinspoor",
2134
- "#a3a7aa",
2135
- "spoor in tunnel",
2136
- "#a3a7aa",
2137
- "metro / sneltram",
2138
- "#cbcdd9",
2139
- "metro / sneltram in tunnel",
2140
- "#cbcdd9",
2141
- "tram",
2142
- "#a3a7aa",
2143
- "tram in tunnel",
2144
- "#a3a7aa",
2145
- "overig",
2146
- "#a3a7aa",
2147
- "spoor onder ander object",
2148
- "#a3a7aa",
2149
- "transparent"
2162
+ ["get", "class"],
2163
+ "motorway",
2164
+ "#DAAD3A",
2165
+ "trunk",
2166
+ "#DAAD3A",
2167
+ "primary",
2168
+ "#DAAD3A",
2169
+ "secondary",
2170
+ "#E2C16C",
2171
+ "tertiary",
2172
+ "#E5CA85",
2173
+ "minor",
2174
+ "hsl(192, 5%, 82%)",
2175
+ "service",
2176
+ "hsl(192, 5%, 82%)",
2177
+ "hsl(0, 0%, 100%)"
2150
2178
  ],
2151
2179
  "line-width": [
2152
2180
  "interpolate",
2153
- ["linear"],
2181
+ ["exponential", 1.1],
2154
2182
  ["zoom"],
2155
- 12,
2183
+ 10,
2156
2184
  [
2157
2185
  "match",
2158
- ["get", "vistext"],
2159
- "treinspoor",
2160
- 0.8,
2161
- "spoor in tunnel",
2162
- 0.5,
2163
- "metro / sneltram",
2164
- 0.1,
2165
- "metro / sneltram in tunnel",
2166
- 0.1,
2167
- "tram",
2168
- 0.1,
2169
- "tram in tunnel",
2170
- 0.1,
2171
- "overig",
2172
- 0.1,
2173
- "spoor onder ander object",
2174
- 1,
2175
- 10
2186
+ ["get", "class"],
2187
+ "motorway",
2188
+ 3.5,
2189
+ "trunk",
2190
+ 3.5,
2191
+ "primary",
2192
+ 3.5,
2193
+ "secondary",
2194
+ 2.5,
2195
+ "tertiary",
2196
+ 2.5,
2197
+ "minor",
2198
+ 0,
2199
+ "service",
2200
+ 0,
2201
+ 0
2176
2202
  ],
2177
- 16,
2203
+ 13,
2178
2204
  [
2179
2205
  "match",
2180
- ["get", "vistext"],
2181
- "treinspoor",
2182
- 1.5,
2183
- "spoor in tunnel",
2184
- 1.5,
2185
- "metro / sneltram",
2186
- 3,
2187
- "metro / sneltram in tunnel",
2188
- 3,
2189
- "tram",
2190
- 1,
2191
- "tram in tunnel",
2192
- 1,
2193
- "overig",
2194
- 0.5,
2195
- "spoor onder ander object",
2196
- 1.5,
2197
- 10
2206
+ ["get", "class"],
2207
+ "motorway",
2208
+ 7.5,
2209
+ "trunk",
2210
+ 6,
2211
+ "primary",
2212
+ 6,
2213
+ "secondary",
2214
+ 6,
2215
+ "tertiary",
2216
+ 6,
2217
+ "minor",
2218
+ 4.5,
2219
+ "service",
2220
+ 3.5,
2221
+ 0
2222
+ ],
2223
+ 15,
2224
+ [
2225
+ "match",
2226
+ ["get", "class"],
2227
+ "motorway",
2228
+ 12.5,
2229
+ "trunk",
2230
+ 12,
2231
+ "primary",
2232
+ 11,
2233
+ "secondary",
2234
+ 9,
2235
+ "tertiary",
2236
+ 9,
2237
+ "minor",
2238
+ 8,
2239
+ "service",
2240
+ 5,
2241
+ 0
2242
+ ],
2243
+ 20,
2244
+ [
2245
+ "match",
2246
+ ["get", "class"],
2247
+ "motorway",
2248
+ 27,
2249
+ "trunk",
2250
+ 27,
2251
+ "primary",
2252
+ 25,
2253
+ "secondary",
2254
+ 23,
2255
+ "tertiary",
2256
+ 23,
2257
+ "minor",
2258
+ 22,
2259
+ "service",
2260
+ 20,
2261
+ 0
2198
2262
  ]
2199
2263
  ],
2200
- "line-opacity": [
2201
- "match",
2202
- ["get", "vistext"],
2203
- "spoor onder ander object",
2204
- 0.5,
2205
- "spoor in tunnel",
2206
- 0.5,
2207
- "metro / sneltram in tunnel",
2208
- 0.5,
2209
- "tram in tunnel",
2210
- 0.5,
2211
- 1
2212
- ]
2264
+ "line-opacity": 1
2213
2265
  }
2214
2266
  },
2215
2267
  {
2216
- "id": "brt-railway-center-dash",
2268
+ "id": "osm-road-sections-fill",
2217
2269
  "type": "line",
2218
- "source": "pdok-brt",
2219
- "source-layer": "spoorbaandeellijn",
2220
- "minzoom": 14,
2270
+ "source": "openmaptiles",
2271
+ "source-layer": "transportation",
2221
2272
  "metadata": {
2222
- "group": "context-map",
2223
- "sub-group": "railway",
2273
+ "group": "osm",
2274
+ "sub-group": "osm-road-sections",
2224
2275
  "type": "context",
2225
- "legend-name": "Spoorlijnen dash voor trein",
2226
- "desc": "trein. beschikbaar van z14. Over de wegen heen.",
2227
- "insert-before": "lines-overlay"
2276
+ "legend-name": "OSM Wegvakken vulling",
2277
+ "desc": "OpenStreetMap wegen vulling",
2278
+ "insert-before": "background"
2228
2279
  },
2229
2280
  "filter": [
2230
- "any",
2231
- ["==", ["get", "vistext"], "treinspoor"],
2232
- ["==", ["get", "vistext"], "overig"],
2233
- ["==", ["get", "vistext"], "spoor in tunnel"]
2281
+ "all",
2282
+ ["!in", "class", "path", "track", "rail", "transit", "ferry"],
2283
+ ["!=", "brunnel", "tunnel"]
2234
2284
  ],
2235
2285
  "layout": {
2236
- "visibility": "visible",
2237
- "line-cap": "butt",
2238
- "line-join": "round"
2286
+ "visibility": "none",
2287
+ "line-cap": "round",
2288
+ "line-join": "round",
2289
+ "line-sort-key": [
2290
+ "match",
2291
+ ["get", "class"],
2292
+ "motorway",
2293
+ 7,
2294
+ "trunk",
2295
+ 6,
2296
+ "primary",
2297
+ 5,
2298
+ "secondary",
2299
+ 4,
2300
+ "tertiary",
2301
+ 3,
2302
+ "minor",
2303
+ 2,
2304
+ "service",
2305
+ 1,
2306
+ 0
2307
+ ]
2239
2308
  },
2240
2309
  "paint": {
2241
- "line-dasharray": [0.1, 5],
2242
2310
  "line-color": [
2243
2311
  "match",
2244
- ["get", "vistext"],
2245
- "treinspoor",
2246
- "#a3a7aa",
2247
- "spoor in tunnel",
2248
- "#a3a7aa",
2249
- "overig",
2250
- "#a3a7aa",
2251
- "spoor onder ander object",
2252
- "#a3a7aa",
2253
- "transparent"
2312
+ ["get", "class"],
2313
+ "motorway",
2314
+ "hsl(43, 93%, 88%)",
2315
+ "trunk",
2316
+ "hsl(43, 93%, 88%)",
2317
+ "primary",
2318
+ "hsl(43, 93%, 88%)",
2319
+ "secondary",
2320
+ "hsl(44, 42%, 94%)",
2321
+ "tertiary",
2322
+ "hsl(44, 42%, 94%)",
2323
+ "minor",
2324
+ "#ffffff",
2325
+ "service",
2326
+ "#ffffff",
2327
+ "hsl(0, 0%, 100%)"
2254
2328
  ],
2255
2329
  "line-width": [
2256
2330
  "interpolate",
2257
- ["linear"],
2331
+ ["exponential", 1.1],
2258
2332
  ["zoom"],
2259
- 14,
2333
+ 10,
2260
2334
  [
2261
2335
  "match",
2262
- ["get", "vistext"],
2263
- "treinspoor",
2264
- 3,
2265
- "spoor in tunnel",
2266
- 3.5,
2267
- "overig",
2268
- 3.1,
2269
- "spoor onder ander object",
2270
- 3,
2271
- 10
2336
+ ["get", "class"],
2337
+ "motorway",
2338
+ 2.5,
2339
+ "trunk",
2340
+ 2.5,
2341
+ "primary",
2342
+ 2.5,
2343
+ "secondary",
2344
+ 1.5,
2345
+ "tertiary",
2346
+ 1.5,
2347
+ "minor",
2348
+ 1,
2349
+ 0
2272
2350
  ],
2273
- 16,
2351
+ 13,
2274
2352
  [
2275
2353
  "match",
2276
- ["get", "vistext"],
2277
- "treinspoor",
2278
- 7,
2279
- "spoor in tunnel",
2280
- 6.5,
2281
- "overig",
2282
- 5.5,
2283
- "spoor onder ander object",
2284
- 6.5,
2285
- 10
2286
- ]
2287
- ],
2288
- "line-opacity": [
2289
- "match",
2290
- ["get", "vistext"],
2291
- "spoor onder ander object",
2292
- 0.5,
2293
- "spoor in tunnel",
2294
- 0.5,
2295
- 1
2296
- ]
2297
- }
2298
- },
2299
- {
2300
- "id": "pdok-administrative-division-province",
2301
- "type": "line",
2302
- "metadata": {
2303
- "group": "context-admin",
2304
- "sub-group": "administrative-division",
2305
- "type": "context",
2306
- "legend-name": "Provincie grenzen",
2307
- "desc": "",
2354
+ ["get", "class"],
2355
+ "motorway",
2356
+ 6,
2357
+ "trunk",
2358
+ 4,
2359
+ "primary",
2360
+ 4,
2361
+ "secondary",
2362
+ 4.1,
2363
+ "tertiary",
2364
+ 4.1,
2365
+ "minor",
2366
+ 2.7,
2367
+ "service",
2368
+ 1.5,
2369
+ 0
2370
+ ],
2371
+ 15,
2372
+ [
2373
+ "match",
2374
+ ["get", "class"],
2375
+ "motorway",
2376
+ 10,
2377
+ "trunk",
2378
+ 9.5,
2379
+ "primary",
2380
+ 8.4,
2381
+ "secondary",
2382
+ 6.4,
2383
+ "tertiary",
2384
+ 6.4,
2385
+ "minor",
2386
+ 5.4,
2387
+ "service",
2388
+ 4,
2389
+ 0
2390
+ ],
2391
+ 20,
2392
+ [
2393
+ "match",
2394
+ ["get", "class"],
2395
+ "motorway",
2396
+ 24,
2397
+ "trunk",
2398
+ 24,
2399
+ "primary",
2400
+ 22,
2401
+ "secondary",
2402
+ 20,
2403
+ "tertiary",
2404
+ 18,
2405
+ "minor",
2406
+ 17,
2407
+ "service",
2408
+ 15,
2409
+ 0
2410
+ ]
2411
+ ],
2412
+ "line-opacity": 1
2413
+ }
2414
+ },
2415
+ {
2416
+ "id": "osm-road-sections-single",
2417
+ "type": "line",
2418
+ "source": "openmaptiles",
2419
+ "source-layer": "transportation",
2420
+ "metadata": {
2421
+ "group": "osm",
2422
+ "sub-group": "osm-road-sections",
2423
+ "type": "context",
2424
+ "legend-name": "OSM Fietspaden en voetpaden",
2425
+ "desc": "OpenStreetMap paden en tracks",
2426
+ "insert-before": "background"
2427
+ },
2428
+ "filter": ["in", "class", "path", "track"],
2429
+ "layout": {
2430
+ "visibility": "none",
2431
+ "line-cap": "round",
2432
+ "line-join": "round"
2433
+ },
2434
+ "paint": {
2435
+ "line-color": [
2436
+ "match",
2437
+ ["get", "class"],
2438
+ "path",
2439
+ "hsl(19, 50%, 90%)",
2440
+ "track",
2441
+ "#f3e4d3",
2442
+ "#ffffff"
2443
+ ],
2444
+ "line-width": [
2445
+ "interpolate",
2446
+ ["exponential", 1.1],
2447
+ ["zoom"],
2448
+ 10,
2449
+ 0,
2450
+ 13,
2451
+ 1.5,
2452
+ 15,
2453
+ 3.5,
2454
+ 20,
2455
+ 10
2456
+ ],
2457
+ "line-opacity": 1
2458
+ }
2459
+ },
2460
+ {
2461
+ "id": "osm-road-sections-casing-rel",
2462
+ "type": "line",
2463
+ "source": "openmaptiles",
2464
+ "source-layer": "transportation",
2465
+ "metadata": {
2466
+ "group": "osm",
2467
+ "sub-group": "osm-road-sections",
2468
+ "type": "relevant",
2469
+ "legend-name": "OSM Wegvakken omlijning",
2470
+ "desc": "OpenStreetMap wegen omlijning relevant",
2471
+ "insert-before": "background"
2472
+ },
2473
+ "filter": [
2474
+ "all",
2475
+ ["!in", "class", "path", "track", "rail", "transit", "ferry"],
2476
+ ["!=", "brunnel", "tunnel"]
2477
+ ],
2478
+ "layout": {
2479
+ "visibility": "none",
2480
+ "line-cap": "round",
2481
+ "line-join": "round",
2482
+ "line-sort-key": [
2483
+ "match",
2484
+ ["get", "class"],
2485
+ "motorway",
2486
+ 7,
2487
+ "trunk",
2488
+ 6,
2489
+ "primary",
2490
+ 5,
2491
+ "secondary",
2492
+ 4,
2493
+ "tertiary",
2494
+ 3,
2495
+ "minor",
2496
+ 2,
2497
+ "service",
2498
+ 1,
2499
+ 0
2500
+ ]
2501
+ },
2502
+ "paint": {
2503
+ "line-color": [
2504
+ "match",
2505
+ ["get", "class"],
2506
+ "motorway",
2507
+ "#dd5208",
2508
+ "trunk",
2509
+ "#dd5208",
2510
+ "primary",
2511
+ "#dd5208",
2512
+ "secondary",
2513
+ "#DC7019",
2514
+ "tertiary",
2515
+ "#DB9E32",
2516
+ "minor",
2517
+ "#E3C474",
2518
+ "service",
2519
+ "hsl(192, 5%, 72%)",
2520
+ "hsl(0, 0%, 100%)"
2521
+ ],
2522
+ "line-width": [
2523
+ "interpolate",
2524
+ ["exponential", 1.1],
2525
+ ["zoom"],
2526
+ 10,
2527
+ [
2528
+ "match",
2529
+ ["get", "class"],
2530
+ "motorway",
2531
+ 3.5,
2532
+ "trunk",
2533
+ 3.5,
2534
+ "primary",
2535
+ 3.5,
2536
+ "secondary",
2537
+ 2.5,
2538
+ "tertiary",
2539
+ 2.5,
2540
+ "minor",
2541
+ 0,
2542
+ "service",
2543
+ 0,
2544
+ 0
2545
+ ],
2546
+ 13,
2547
+ [
2548
+ "match",
2549
+ ["get", "class"],
2550
+ "motorway",
2551
+ 7.5,
2552
+ "trunk",
2553
+ 6,
2554
+ "primary",
2555
+ 6,
2556
+ "secondary",
2557
+ 6,
2558
+ "tertiary",
2559
+ 6,
2560
+ "minor",
2561
+ 4.5,
2562
+ "service",
2563
+ 3.5,
2564
+ 0
2565
+ ],
2566
+ 15,
2567
+ [
2568
+ "match",
2569
+ ["get", "class"],
2570
+ "motorway",
2571
+ 12.5,
2572
+ "trunk",
2573
+ 12,
2574
+ "primary",
2575
+ 11,
2576
+ "secondary",
2577
+ 9,
2578
+ "tertiary",
2579
+ 9,
2580
+ "minor",
2581
+ 8,
2582
+ "service",
2583
+ 5,
2584
+ 0
2585
+ ],
2586
+ 20,
2587
+ [
2588
+ "match",
2589
+ ["get", "class"],
2590
+ "motorway",
2591
+ 27,
2592
+ "trunk",
2593
+ 27,
2594
+ "primary",
2595
+ 25,
2596
+ "secondary",
2597
+ 23,
2598
+ "tertiary",
2599
+ 23,
2600
+ "minor",
2601
+ 22,
2602
+ "service",
2603
+ 20,
2604
+ 0
2605
+ ]
2606
+ ],
2607
+ "line-opacity": 1
2608
+ }
2609
+ },
2610
+ {
2611
+ "id": "osm-road-sections-fill-rel",
2612
+ "type": "line",
2613
+ "source": "openmaptiles",
2614
+ "source-layer": "transportation",
2615
+ "metadata": {
2616
+ "group": "osm",
2617
+ "sub-group": "osm-road-sections",
2618
+ "type": "relevant",
2619
+ "legend-name": "OSM Wegvakken vulling",
2620
+ "desc": "OpenStreetMap wegen vulling relevant",
2621
+ "insert-before": "background"
2622
+ },
2623
+ "filter": [
2624
+ "all",
2625
+ ["!in", "class", "path", "track", "rail", "transit", "ferry"],
2626
+ ["!=", "brunnel", "tunnel"]
2627
+ ],
2628
+ "layout": {
2629
+ "visibility": "none",
2630
+ "line-cap": "round",
2631
+ "line-join": "round",
2632
+ "line-sort-key": [
2633
+ "match",
2634
+ ["get", "class"],
2635
+ "motorway",
2636
+ 7,
2637
+ "trunk",
2638
+ 6,
2639
+ "primary",
2640
+ 5,
2641
+ "secondary",
2642
+ 4,
2643
+ "tertiary",
2644
+ 3,
2645
+ "minor",
2646
+ 2,
2647
+ "service",
2648
+ 1,
2649
+ 0
2650
+ ]
2651
+ },
2652
+ "paint": {
2653
+ "line-color": [
2654
+ "match",
2655
+ ["get", "class"],
2656
+ "motorway",
2657
+ "#DB9E32",
2658
+ "trunk",
2659
+ "#DB9E32",
2660
+ "primary",
2661
+ "#DB9E32",
2662
+ "secondary",
2663
+ "#E3C474",
2664
+ "tertiary",
2665
+ "#E3C474",
2666
+ "minor",
2667
+ "#EDDBAF",
2668
+ "service",
2669
+ "#ffffff",
2670
+ "hsl(0, 0%, 100%)"
2671
+ ],
2672
+ "line-width": [
2673
+ "interpolate",
2674
+ ["exponential", 1.1],
2675
+ ["zoom"],
2676
+ 10,
2677
+ [
2678
+ "match",
2679
+ ["get", "class"],
2680
+ "motorway",
2681
+ 2.5,
2682
+ "trunk",
2683
+ 2.5,
2684
+ "primary",
2685
+ 2.5,
2686
+ "secondary",
2687
+ 1.5,
2688
+ "tertiary",
2689
+ 1.5,
2690
+ "minor",
2691
+ 1,
2692
+ 0
2693
+ ],
2694
+ 13,
2695
+ [
2696
+ "match",
2697
+ ["get", "class"],
2698
+ "motorway",
2699
+ 6,
2700
+ "trunk",
2701
+ 4,
2702
+ "primary",
2703
+ 4,
2704
+ "secondary",
2705
+ 4.1,
2706
+ "tertiary",
2707
+ 4.1,
2708
+ "minor",
2709
+ 2.7,
2710
+ "service",
2711
+ 1.5,
2712
+ 0
2713
+ ],
2714
+ 15,
2715
+ [
2716
+ "match",
2717
+ ["get", "class"],
2718
+ "motorway",
2719
+ 10,
2720
+ "trunk",
2721
+ 9.5,
2722
+ "primary",
2723
+ 8.4,
2724
+ "secondary",
2725
+ 6.4,
2726
+ "tertiary",
2727
+ 6.4,
2728
+ "minor",
2729
+ 5.4,
2730
+ "service",
2731
+ 4,
2732
+ 0
2733
+ ],
2734
+ 20,
2735
+ [
2736
+ "match",
2737
+ ["get", "class"],
2738
+ "motorway",
2739
+ 24,
2740
+ "trunk",
2741
+ 24,
2742
+ "primary",
2743
+ 22,
2744
+ "secondary",
2745
+ 20,
2746
+ "tertiary",
2747
+ 18,
2748
+ "minor",
2749
+ 17,
2750
+ "service",
2751
+ 15,
2752
+ 0
2753
+ ]
2754
+ ],
2755
+ "line-opacity": 1
2756
+ }
2757
+ },
2758
+ {
2759
+ "id": "osm-road-sections-single-rel",
2760
+ "type": "line",
2761
+ "source": "openmaptiles",
2762
+ "source-layer": "transportation",
2763
+ "metadata": {
2764
+ "group": "osm",
2765
+ "sub-group": "osm-road-sections",
2766
+ "type": "relevant",
2767
+ "legend-name": "OSM Fietspaden en voetpaden",
2768
+ "desc": "OpenStreetMap paden en tracks relevant",
2769
+ "insert-before": "background"
2770
+ },
2771
+ "filter": ["in", "class", "path", "track"],
2772
+ "layout": {
2773
+ "visibility": "none",
2774
+ "line-cap": "round",
2775
+ "line-join": "round"
2776
+ },
2777
+ "paint": {
2778
+ "line-color": [
2779
+ "match",
2780
+ ["get", "class"],
2781
+ "path",
2782
+ "hsl(19, 80%, 80%)",
2783
+ "track",
2784
+ "#f3e4d3",
2785
+ "#ffffff"
2786
+ ],
2787
+ "line-width": [
2788
+ "interpolate",
2789
+ ["exponential", 1.1],
2790
+ ["zoom"],
2791
+ 10,
2792
+ 0,
2793
+ 13,
2794
+ 0.5,
2795
+ 15,
2796
+ 3.5,
2797
+ 20,
2798
+ 10
2799
+ ],
2800
+ "line-opacity": 1
2801
+ }
2802
+ },
2803
+ {
2804
+ "id": "brt-railway-center-line",
2805
+ "type": "line",
2806
+ "source": "pdok-brt",
2807
+ "source-layer": "spoorbaandeellijn",
2808
+ "minzoom": 9,
2809
+ "metadata": {
2810
+ "group": "context-map",
2811
+ "sub-group": "railway",
2812
+ "type": "context",
2813
+ "legend-name": "Spoorlijnen",
2814
+ "desc": "trein, metro, tram. beschikbaar van z9. Over de wegen heen.",
2815
+ "insert-before": "lines-overlay"
2816
+ },
2817
+ "layout": {
2818
+ "visibility": "visible",
2819
+ "line-cap": "round",
2820
+ "line-join": "round"
2821
+ },
2822
+ "paint": {
2823
+ "line-color": [
2824
+ "match",
2825
+ ["get", "vistext"],
2826
+ "treinspoor",
2827
+ "#a3a7aa",
2828
+ "spoor in tunnel",
2829
+ "#a3a7aa",
2830
+ "metro / sneltram",
2831
+ "#cbcdd9",
2832
+ "metro / sneltram in tunnel",
2833
+ "#cbcdd9",
2834
+ "tram",
2835
+ "#a3a7aa",
2836
+ "tram in tunnel",
2837
+ "#a3a7aa",
2838
+ "overig",
2839
+ "#a3a7aa",
2840
+ "spoor onder ander object",
2841
+ "#a3a7aa",
2842
+ "transparent"
2843
+ ],
2844
+ "line-width": [
2845
+ "interpolate",
2846
+ ["linear"],
2847
+ ["zoom"],
2848
+ 12,
2849
+ [
2850
+ "match",
2851
+ ["get", "vistext"],
2852
+ "treinspoor",
2853
+ 0.8,
2854
+ "spoor in tunnel",
2855
+ 0.5,
2856
+ "metro / sneltram",
2857
+ 0.1,
2858
+ "metro / sneltram in tunnel",
2859
+ 0.1,
2860
+ "tram",
2861
+ 0.1,
2862
+ "tram in tunnel",
2863
+ 0.1,
2864
+ "overig",
2865
+ 0.1,
2866
+ "spoor onder ander object",
2867
+ 1,
2868
+ 10
2869
+ ],
2870
+ 16,
2871
+ [
2872
+ "match",
2873
+ ["get", "vistext"],
2874
+ "treinspoor",
2875
+ 1.5,
2876
+ "spoor in tunnel",
2877
+ 1.5,
2878
+ "metro / sneltram",
2879
+ 3,
2880
+ "metro / sneltram in tunnel",
2881
+ 3,
2882
+ "tram",
2883
+ 1,
2884
+ "tram in tunnel",
2885
+ 1,
2886
+ "overig",
2887
+ 0.5,
2888
+ "spoor onder ander object",
2889
+ 1.5,
2890
+ 10
2891
+ ]
2892
+ ],
2893
+ "line-opacity": [
2894
+ "match",
2895
+ ["get", "vistext"],
2896
+ "spoor onder ander object",
2897
+ 0.5,
2898
+ "spoor in tunnel",
2899
+ 0.5,
2900
+ "metro / sneltram in tunnel",
2901
+ 0.5,
2902
+ "tram in tunnel",
2903
+ 0.5,
2904
+ 1
2905
+ ]
2906
+ }
2907
+ },
2908
+ {
2909
+ "id": "brt-railway-center-dash",
2910
+ "type": "line",
2911
+ "source": "pdok-brt",
2912
+ "source-layer": "spoorbaandeellijn",
2913
+ "minzoom": 14,
2914
+ "metadata": {
2915
+ "group": "context-map",
2916
+ "sub-group": "railway",
2917
+ "type": "context",
2918
+ "legend-name": "Spoorlijnen dash voor trein",
2919
+ "desc": "trein. beschikbaar van z14. Over de wegen heen.",
2920
+ "insert-before": "lines-overlay"
2921
+ },
2922
+ "filter": [
2923
+ "any",
2924
+ ["==", ["get", "vistext"], "treinspoor"],
2925
+ ["==", ["get", "vistext"], "overig"],
2926
+ ["==", ["get", "vistext"], "spoor in tunnel"]
2927
+ ],
2928
+ "layout": {
2929
+ "visibility": "visible",
2930
+ "line-cap": "butt",
2931
+ "line-join": "round"
2932
+ },
2933
+ "paint": {
2934
+ "line-dasharray": [0.1, 5],
2935
+ "line-color": [
2936
+ "match",
2937
+ ["get", "vistext"],
2938
+ "treinspoor",
2939
+ "#a3a7aa",
2940
+ "spoor in tunnel",
2941
+ "#a3a7aa",
2942
+ "overig",
2943
+ "#a3a7aa",
2944
+ "spoor onder ander object",
2945
+ "#a3a7aa",
2946
+ "transparent"
2947
+ ],
2948
+ "line-width": [
2949
+ "interpolate",
2950
+ ["linear"],
2951
+ ["zoom"],
2952
+ 14,
2953
+ [
2954
+ "match",
2955
+ ["get", "vistext"],
2956
+ "treinspoor",
2957
+ 3,
2958
+ "spoor in tunnel",
2959
+ 3.5,
2960
+ "overig",
2961
+ 3.1,
2962
+ "spoor onder ander object",
2963
+ 3,
2964
+ 10
2965
+ ],
2966
+ 16,
2967
+ [
2968
+ "match",
2969
+ ["get", "vistext"],
2970
+ "treinspoor",
2971
+ 7,
2972
+ "spoor in tunnel",
2973
+ 6.5,
2974
+ "overig",
2975
+ 5.5,
2976
+ "spoor onder ander object",
2977
+ 6.5,
2978
+ 10
2979
+ ]
2980
+ ],
2981
+ "line-opacity": [
2982
+ "match",
2983
+ ["get", "vistext"],
2984
+ "spoor onder ander object",
2985
+ 0.5,
2986
+ "spoor in tunnel",
2987
+ 0.5,
2988
+ 1
2989
+ ]
2990
+ }
2991
+ },
2992
+ {
2993
+ "id": "pdok-administrative-division-province",
2994
+ "type": "line",
2995
+ "metadata": {
2996
+ "group": "context-admin",
2997
+ "sub-group": "administrative-division",
2998
+ "type": "context",
2999
+ "legend-name": "Provincie grenzen",
3000
+ "desc": "",
2308
3001
  "insert-before": "lines-overlay"
2309
3002
  },
2310
3003
  "source": "pdok-administrative-division",
@@ -2793,6 +3486,128 @@
2793
3486
  }
2794
3487
  },
2795
3488
 
3489
+ {
3490
+ "id": "osm-road-names",
3491
+ "type": "symbol",
3492
+ "source": "openmaptiles",
3493
+ "source-layer": "transportation_name",
3494
+ "metadata": {
3495
+ "group": "osm",
3496
+ "sub-group": "osm-road-names",
3497
+ "type": "context",
3498
+ "legend-name": "OSM Weg namen",
3499
+ "desc": "OpenStreetMap straatnamen",
3500
+ "insert-before": "label"
3501
+ },
3502
+ "minzoom": 12,
3503
+ "filter": ["all", ["!in", "class", "path", "track", "motorway", "trunk", "primary"]],
3504
+ "layout": {
3505
+ "visibility": "none",
3506
+ "symbol-sort-key": [
3507
+ "match",
3508
+ ["get", "class"],
3509
+ "secondary",
3510
+ 5,
3511
+ "tertiary",
3512
+ 4,
3513
+ "minor",
3514
+ 3,
3515
+ "service",
3516
+ 2,
3517
+ 0
3518
+ ],
3519
+ "symbol-placement": "line",
3520
+ "text-field": "{name}",
3521
+ "text-max-angle": 50,
3522
+ "text-padding": 30,
3523
+ "text-font": [
3524
+ "case",
3525
+ ["==", ["get", "class"], "secondary"],
3526
+ ["literal", ["Noto Sans Bold"]],
3527
+ ["literal", ["Noto Sans Regular"]]
3528
+ ],
3529
+ "text-size": [
3530
+ "match",
3531
+ ["get", "class"],
3532
+ "secondary",
3533
+ 14,
3534
+ "tertiary",
3535
+ 12,
3536
+ "minor",
3537
+ 11,
3538
+ "service",
3539
+ 11,
3540
+ 0
3541
+ ],
3542
+ "text-rotation-alignment": "map"
3543
+ },
3544
+ "paint": {
3545
+ "text-color": "hsl(196, 13%, 29%)",
3546
+ "text-halo-color": "#f8f4f0",
3547
+ "text-halo-width": 1.5
3548
+ }
3549
+ },
3550
+ {
3551
+ "id": "osm-road-names-number",
3552
+ "type": "symbol",
3553
+ "source": "openmaptiles",
3554
+ "source-layer": "transportation_name",
3555
+ "metadata": {
3556
+ "group": "osm",
3557
+ "sub-group": "osm-road-names",
3558
+ "type": "context",
3559
+ "legend-name": "OSM Weg nummers",
3560
+ "desc": "OpenStreetMap A en N wegnummers",
3561
+ "insert-before": "label"
3562
+ },
3563
+ "minzoom": 6,
3564
+ "filter": [
3565
+ "all",
3566
+ ["has", "ref"],
3567
+ ["in", "class", "motorway", "trunk", "primary", "secondary"]
3568
+ ],
3569
+ "layout": {
3570
+ "visibility": "none",
3571
+ "symbol-sort-key": [
3572
+ "match",
3573
+ ["get", "class"],
3574
+ "motorway",
3575
+ 7,
3576
+ "trunk",
3577
+ 6,
3578
+ "primary",
3579
+ 5,
3580
+ "secondary",
3581
+ 4,
3582
+ 0
3583
+ ],
3584
+ "symbol-placement": "line",
3585
+ "symbol-spacing": ["interpolate", ["linear"], ["zoom"], 8, 400, 10, 250, 20, 500],
3586
+ "text-field": "{ref}",
3587
+ "text-max-angle": ["interpolate", ["linear"], ["zoom"], 6, 20, 8, 5, 20, 0],
3588
+ "text-padding": 8,
3589
+ "text-font": ["Noto Sans Bold"],
3590
+ "text-size": [
3591
+ "match",
3592
+ ["get", "class"],
3593
+ "motorway",
3594
+ 12,
3595
+ "trunk",
3596
+ 11,
3597
+ "primary",
3598
+ 11,
3599
+ "secondary",
3600
+ 10,
3601
+ 0
3602
+ ],
3603
+ "text-rotation-alignment": "viewport"
3604
+ },
3605
+ "paint": {
3606
+ "text-color": "#f8f4f0",
3607
+ "text-halo-color": "hsl(196, 13%, 50%)",
3608
+ "text-halo-width": 30
3609
+ }
3610
+ },
2796
3611
  {
2797
3612
  "id": "brt-district-names",
2798
3613
  "type": "symbol",