@ndwnu/map 2.1.1 → 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.
- package/README.md +74 -2
- package/fesm2022/ndwnu-map.mjs +1249 -144
- 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 +970 -155
- package/types/ndwnu-map.d.ts +2 -1
package/fesm2022/ndwnu-map.mjs
CHANGED
|
@@ -825,11 +825,11 @@ var sprite = [
|
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
827
|
id: "sdf",
|
|
828
|
-
url: "https://
|
|
828
|
+
url: "https://design.ndw.nu/map-storybook/assets/sprites/sdf"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
831
|
id: "custom",
|
|
832
|
-
url: "https://
|
|
832
|
+
url: "https://design.ndw.nu/map-storybook/assets/sprites/custom_ndw"
|
|
833
833
|
}
|
|
834
834
|
];
|
|
835
835
|
var glyphs = "https://maps.ndw.nu/styles/glyphs/{fontstack}/{range}.pbf";
|
|
@@ -896,6 +896,13 @@ var sources = {
|
|
|
896
896
|
"ndw-wkd-parking-areas": {
|
|
897
897
|
type: "vector",
|
|
898
898
|
url: "https://maps.ndw.nu/api/v1/wkdParkingAreas/latest/mbtiles/segments/"
|
|
899
|
+
},
|
|
900
|
+
openmaptiles: {
|
|
901
|
+
type: "vector",
|
|
902
|
+
url: "https://maps.ndw.nu/api/v1/osm/latest/mbtiles/osm/",
|
|
903
|
+
minzoom: 0,
|
|
904
|
+
maxzoom: 14,
|
|
905
|
+
attribution: "<a href='https://www.openstreetmap.org/copyright'>© OpenStreetMap</a>"
|
|
899
906
|
}
|
|
900
907
|
};
|
|
901
908
|
var layers = [
|
|
@@ -4039,215 +4046,1067 @@ var layers = [
|
|
|
4039
4046
|
}
|
|
4040
4047
|
},
|
|
4041
4048
|
{
|
|
4042
|
-
id: "
|
|
4049
|
+
id: "osm-road-sections-casing",
|
|
4043
4050
|
type: "line",
|
|
4044
|
-
source: "
|
|
4045
|
-
"source-layer": "
|
|
4046
|
-
minzoom: 9,
|
|
4051
|
+
source: "openmaptiles",
|
|
4052
|
+
"source-layer": "transportation",
|
|
4047
4053
|
metadata: {
|
|
4048
|
-
group: "
|
|
4049
|
-
"sub-group": "
|
|
4054
|
+
group: "osm",
|
|
4055
|
+
"sub-group": "osm-road-sections",
|
|
4050
4056
|
type: "context",
|
|
4051
|
-
"legend-name": "
|
|
4052
|
-
desc: "
|
|
4053
|
-
"insert-before": "
|
|
4057
|
+
"legend-name": "OSM Wegvakken omlijning",
|
|
4058
|
+
desc: "OpenStreetMap wegen omlijning",
|
|
4059
|
+
"insert-before": "background"
|
|
4054
4060
|
},
|
|
4061
|
+
filter: [
|
|
4062
|
+
"all",
|
|
4063
|
+
[
|
|
4064
|
+
"!in",
|
|
4065
|
+
"class",
|
|
4066
|
+
"path",
|
|
4067
|
+
"track",
|
|
4068
|
+
"rail",
|
|
4069
|
+
"transit",
|
|
4070
|
+
"ferry"
|
|
4071
|
+
],
|
|
4072
|
+
[
|
|
4073
|
+
"!=",
|
|
4074
|
+
"brunnel",
|
|
4075
|
+
"tunnel"
|
|
4076
|
+
]
|
|
4077
|
+
],
|
|
4055
4078
|
layout: {
|
|
4056
|
-
visibility: "
|
|
4079
|
+
visibility: "none",
|
|
4057
4080
|
"line-cap": "round",
|
|
4058
|
-
"line-join": "round"
|
|
4081
|
+
"line-join": "round",
|
|
4082
|
+
"line-sort-key": [
|
|
4083
|
+
"match",
|
|
4084
|
+
[
|
|
4085
|
+
"get",
|
|
4086
|
+
"class"
|
|
4087
|
+
],
|
|
4088
|
+
"motorway",
|
|
4089
|
+
7,
|
|
4090
|
+
"trunk",
|
|
4091
|
+
6,
|
|
4092
|
+
"primary",
|
|
4093
|
+
5,
|
|
4094
|
+
"secondary",
|
|
4095
|
+
4,
|
|
4096
|
+
"tertiary",
|
|
4097
|
+
3,
|
|
4098
|
+
"minor",
|
|
4099
|
+
2,
|
|
4100
|
+
"service",
|
|
4101
|
+
1,
|
|
4102
|
+
0
|
|
4103
|
+
]
|
|
4059
4104
|
},
|
|
4060
4105
|
paint: {
|
|
4061
4106
|
"line-color": [
|
|
4062
4107
|
"match",
|
|
4063
4108
|
[
|
|
4064
4109
|
"get",
|
|
4065
|
-
"
|
|
4110
|
+
"class"
|
|
4066
4111
|
],
|
|
4067
|
-
"
|
|
4068
|
-
"#
|
|
4069
|
-
"
|
|
4070
|
-
"#
|
|
4071
|
-
"
|
|
4072
|
-
"#
|
|
4073
|
-
"
|
|
4074
|
-
"#
|
|
4075
|
-
"
|
|
4076
|
-
"#
|
|
4077
|
-
"
|
|
4078
|
-
"
|
|
4079
|
-
"
|
|
4080
|
-
"
|
|
4081
|
-
"
|
|
4082
|
-
"#a3a7aa",
|
|
4083
|
-
"transparent"
|
|
4112
|
+
"motorway",
|
|
4113
|
+
"#DAAD3A",
|
|
4114
|
+
"trunk",
|
|
4115
|
+
"#DAAD3A",
|
|
4116
|
+
"primary",
|
|
4117
|
+
"#DAAD3A",
|
|
4118
|
+
"secondary",
|
|
4119
|
+
"#E2C16C",
|
|
4120
|
+
"tertiary",
|
|
4121
|
+
"#E5CA85",
|
|
4122
|
+
"minor",
|
|
4123
|
+
"hsl(192, 5%, 82%)",
|
|
4124
|
+
"service",
|
|
4125
|
+
"hsl(192, 5%, 82%)",
|
|
4126
|
+
"hsl(0, 0%, 100%)"
|
|
4084
4127
|
],
|
|
4085
4128
|
"line-width": [
|
|
4086
4129
|
"interpolate",
|
|
4087
4130
|
[
|
|
4088
|
-
"
|
|
4131
|
+
"exponential",
|
|
4132
|
+
1.1
|
|
4089
4133
|
],
|
|
4090
4134
|
[
|
|
4091
4135
|
"zoom"
|
|
4092
4136
|
],
|
|
4093
|
-
|
|
4137
|
+
10,
|
|
4094
4138
|
[
|
|
4095
4139
|
"match",
|
|
4096
4140
|
[
|
|
4097
4141
|
"get",
|
|
4098
|
-
"
|
|
4142
|
+
"class"
|
|
4099
4143
|
],
|
|
4100
|
-
"
|
|
4101
|
-
|
|
4102
|
-
"
|
|
4103
|
-
|
|
4104
|
-
"
|
|
4105
|
-
|
|
4106
|
-
"
|
|
4107
|
-
|
|
4108
|
-
"
|
|
4109
|
-
|
|
4110
|
-
"
|
|
4111
|
-
0
|
|
4112
|
-
"
|
|
4113
|
-
0
|
|
4114
|
-
|
|
4115
|
-
1,
|
|
4116
|
-
10
|
|
4144
|
+
"motorway",
|
|
4145
|
+
3.5,
|
|
4146
|
+
"trunk",
|
|
4147
|
+
3.5,
|
|
4148
|
+
"primary",
|
|
4149
|
+
3.5,
|
|
4150
|
+
"secondary",
|
|
4151
|
+
2.5,
|
|
4152
|
+
"tertiary",
|
|
4153
|
+
2.5,
|
|
4154
|
+
"minor",
|
|
4155
|
+
0,
|
|
4156
|
+
"service",
|
|
4157
|
+
0,
|
|
4158
|
+
0
|
|
4117
4159
|
],
|
|
4118
|
-
|
|
4160
|
+
13,
|
|
4119
4161
|
[
|
|
4120
4162
|
"match",
|
|
4121
4163
|
[
|
|
4122
4164
|
"get",
|
|
4123
|
-
"
|
|
4165
|
+
"class"
|
|
4124
4166
|
],
|
|
4125
|
-
"
|
|
4126
|
-
|
|
4127
|
-
"
|
|
4128
|
-
|
|
4129
|
-
"
|
|
4130
|
-
|
|
4131
|
-
"
|
|
4132
|
-
|
|
4133
|
-
"
|
|
4134
|
-
|
|
4135
|
-
"
|
|
4136
|
-
|
|
4137
|
-
"
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
]
|
|
4143
|
-
],
|
|
4144
|
-
"line-opacity": [
|
|
4145
|
-
"match",
|
|
4167
|
+
"motorway",
|
|
4168
|
+
7.5,
|
|
4169
|
+
"trunk",
|
|
4170
|
+
6,
|
|
4171
|
+
"primary",
|
|
4172
|
+
6,
|
|
4173
|
+
"secondary",
|
|
4174
|
+
6,
|
|
4175
|
+
"tertiary",
|
|
4176
|
+
6,
|
|
4177
|
+
"minor",
|
|
4178
|
+
4.5,
|
|
4179
|
+
"service",
|
|
4180
|
+
3.5,
|
|
4181
|
+
0
|
|
4182
|
+
],
|
|
4183
|
+
15,
|
|
4146
4184
|
[
|
|
4147
|
-
"
|
|
4148
|
-
|
|
4185
|
+
"match",
|
|
4186
|
+
[
|
|
4187
|
+
"get",
|
|
4188
|
+
"class"
|
|
4189
|
+
],
|
|
4190
|
+
"motorway",
|
|
4191
|
+
12.5,
|
|
4192
|
+
"trunk",
|
|
4193
|
+
12,
|
|
4194
|
+
"primary",
|
|
4195
|
+
11,
|
|
4196
|
+
"secondary",
|
|
4197
|
+
9,
|
|
4198
|
+
"tertiary",
|
|
4199
|
+
9,
|
|
4200
|
+
"minor",
|
|
4201
|
+
8,
|
|
4202
|
+
"service",
|
|
4203
|
+
5,
|
|
4204
|
+
0
|
|
4149
4205
|
],
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4206
|
+
20,
|
|
4207
|
+
[
|
|
4208
|
+
"match",
|
|
4209
|
+
[
|
|
4210
|
+
"get",
|
|
4211
|
+
"class"
|
|
4212
|
+
],
|
|
4213
|
+
"motorway",
|
|
4214
|
+
27,
|
|
4215
|
+
"trunk",
|
|
4216
|
+
27,
|
|
4217
|
+
"primary",
|
|
4218
|
+
25,
|
|
4219
|
+
"secondary",
|
|
4220
|
+
23,
|
|
4221
|
+
"tertiary",
|
|
4222
|
+
23,
|
|
4223
|
+
"minor",
|
|
4224
|
+
22,
|
|
4225
|
+
"service",
|
|
4226
|
+
20,
|
|
4227
|
+
0
|
|
4228
|
+
]
|
|
4229
|
+
],
|
|
4230
|
+
"line-opacity": 1
|
|
4160
4231
|
}
|
|
4161
4232
|
},
|
|
4162
4233
|
{
|
|
4163
|
-
id: "
|
|
4234
|
+
id: "osm-road-sections-fill",
|
|
4164
4235
|
type: "line",
|
|
4165
|
-
source: "
|
|
4166
|
-
"source-layer": "
|
|
4167
|
-
minzoom: 14,
|
|
4236
|
+
source: "openmaptiles",
|
|
4237
|
+
"source-layer": "transportation",
|
|
4168
4238
|
metadata: {
|
|
4169
|
-
group: "
|
|
4170
|
-
"sub-group": "
|
|
4239
|
+
group: "osm",
|
|
4240
|
+
"sub-group": "osm-road-sections",
|
|
4171
4241
|
type: "context",
|
|
4172
|
-
"legend-name": "
|
|
4173
|
-
desc: "
|
|
4174
|
-
"insert-before": "
|
|
4242
|
+
"legend-name": "OSM Wegvakken vulling",
|
|
4243
|
+
desc: "OpenStreetMap wegen vulling",
|
|
4244
|
+
"insert-before": "background"
|
|
4175
4245
|
},
|
|
4176
4246
|
filter: [
|
|
4177
|
-
"
|
|
4178
|
-
[
|
|
4179
|
-
"==",
|
|
4180
|
-
[
|
|
4181
|
-
"get",
|
|
4182
|
-
"vistext"
|
|
4183
|
-
],
|
|
4184
|
-
"treinspoor"
|
|
4185
|
-
],
|
|
4247
|
+
"all",
|
|
4186
4248
|
[
|
|
4187
|
-
"
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
"
|
|
4249
|
+
"!in",
|
|
4250
|
+
"class",
|
|
4251
|
+
"path",
|
|
4252
|
+
"track",
|
|
4253
|
+
"rail",
|
|
4254
|
+
"transit",
|
|
4255
|
+
"ferry"
|
|
4193
4256
|
],
|
|
4194
4257
|
[
|
|
4195
|
-
"
|
|
4258
|
+
"!=",
|
|
4259
|
+
"brunnel",
|
|
4260
|
+
"tunnel"
|
|
4261
|
+
]
|
|
4262
|
+
],
|
|
4263
|
+
layout: {
|
|
4264
|
+
visibility: "none",
|
|
4265
|
+
"line-cap": "round",
|
|
4266
|
+
"line-join": "round",
|
|
4267
|
+
"line-sort-key": [
|
|
4268
|
+
"match",
|
|
4196
4269
|
[
|
|
4197
4270
|
"get",
|
|
4198
|
-
"
|
|
4271
|
+
"class"
|
|
4199
4272
|
],
|
|
4200
|
-
"
|
|
4273
|
+
"motorway",
|
|
4274
|
+
7,
|
|
4275
|
+
"trunk",
|
|
4276
|
+
6,
|
|
4277
|
+
"primary",
|
|
4278
|
+
5,
|
|
4279
|
+
"secondary",
|
|
4280
|
+
4,
|
|
4281
|
+
"tertiary",
|
|
4282
|
+
3,
|
|
4283
|
+
"minor",
|
|
4284
|
+
2,
|
|
4285
|
+
"service",
|
|
4286
|
+
1,
|
|
4287
|
+
0
|
|
4201
4288
|
]
|
|
4202
|
-
],
|
|
4203
|
-
layout: {
|
|
4204
|
-
visibility: "visible",
|
|
4205
|
-
"line-cap": "butt",
|
|
4206
|
-
"line-join": "round"
|
|
4207
4289
|
},
|
|
4208
4290
|
paint: {
|
|
4209
|
-
"line-dasharray": [
|
|
4210
|
-
0.1,
|
|
4211
|
-
5
|
|
4212
|
-
],
|
|
4213
4291
|
"line-color": [
|
|
4214
4292
|
"match",
|
|
4215
4293
|
[
|
|
4216
4294
|
"get",
|
|
4217
|
-
"
|
|
4295
|
+
"class"
|
|
4218
4296
|
],
|
|
4219
|
-
"
|
|
4220
|
-
"
|
|
4221
|
-
"
|
|
4222
|
-
"
|
|
4223
|
-
"
|
|
4224
|
-
"
|
|
4225
|
-
"
|
|
4226
|
-
"
|
|
4227
|
-
"
|
|
4297
|
+
"motorway",
|
|
4298
|
+
"hsl(43, 93%, 88%)",
|
|
4299
|
+
"trunk",
|
|
4300
|
+
"hsl(43, 93%, 88%)",
|
|
4301
|
+
"primary",
|
|
4302
|
+
"hsl(43, 93%, 88%)",
|
|
4303
|
+
"secondary",
|
|
4304
|
+
"hsl(44, 42%, 94%)",
|
|
4305
|
+
"tertiary",
|
|
4306
|
+
"hsl(44, 42%, 94%)",
|
|
4307
|
+
"minor",
|
|
4308
|
+
"#ffffff",
|
|
4309
|
+
"service",
|
|
4310
|
+
"#ffffff",
|
|
4311
|
+
"hsl(0, 0%, 100%)"
|
|
4228
4312
|
],
|
|
4229
4313
|
"line-width": [
|
|
4230
4314
|
"interpolate",
|
|
4231
4315
|
[
|
|
4232
|
-
"
|
|
4316
|
+
"exponential",
|
|
4317
|
+
1.1
|
|
4233
4318
|
],
|
|
4234
4319
|
[
|
|
4235
4320
|
"zoom"
|
|
4236
4321
|
],
|
|
4237
|
-
|
|
4322
|
+
10,
|
|
4238
4323
|
[
|
|
4239
4324
|
"match",
|
|
4240
4325
|
[
|
|
4241
4326
|
"get",
|
|
4242
|
-
"
|
|
4327
|
+
"class"
|
|
4243
4328
|
],
|
|
4244
|
-
"
|
|
4245
|
-
|
|
4246
|
-
"
|
|
4247
|
-
|
|
4248
|
-
"
|
|
4249
|
-
|
|
4250
|
-
"
|
|
4329
|
+
"motorway",
|
|
4330
|
+
2.5,
|
|
4331
|
+
"trunk",
|
|
4332
|
+
2.5,
|
|
4333
|
+
"primary",
|
|
4334
|
+
2.5,
|
|
4335
|
+
"secondary",
|
|
4336
|
+
1.5,
|
|
4337
|
+
"tertiary",
|
|
4338
|
+
1.5,
|
|
4339
|
+
"minor",
|
|
4340
|
+
1,
|
|
4341
|
+
0
|
|
4342
|
+
],
|
|
4343
|
+
13,
|
|
4344
|
+
[
|
|
4345
|
+
"match",
|
|
4346
|
+
[
|
|
4347
|
+
"get",
|
|
4348
|
+
"class"
|
|
4349
|
+
],
|
|
4350
|
+
"motorway",
|
|
4351
|
+
6,
|
|
4352
|
+
"trunk",
|
|
4353
|
+
4,
|
|
4354
|
+
"primary",
|
|
4355
|
+
4,
|
|
4356
|
+
"secondary",
|
|
4357
|
+
4.1,
|
|
4358
|
+
"tertiary",
|
|
4359
|
+
4.1,
|
|
4360
|
+
"minor",
|
|
4361
|
+
2.7,
|
|
4362
|
+
"service",
|
|
4363
|
+
1.5,
|
|
4364
|
+
0
|
|
4365
|
+
],
|
|
4366
|
+
15,
|
|
4367
|
+
[
|
|
4368
|
+
"match",
|
|
4369
|
+
[
|
|
4370
|
+
"get",
|
|
4371
|
+
"class"
|
|
4372
|
+
],
|
|
4373
|
+
"motorway",
|
|
4374
|
+
10,
|
|
4375
|
+
"trunk",
|
|
4376
|
+
9.5,
|
|
4377
|
+
"primary",
|
|
4378
|
+
8.4,
|
|
4379
|
+
"secondary",
|
|
4380
|
+
6.4,
|
|
4381
|
+
"tertiary",
|
|
4382
|
+
6.4,
|
|
4383
|
+
"minor",
|
|
4384
|
+
5.4,
|
|
4385
|
+
"service",
|
|
4386
|
+
4,
|
|
4387
|
+
0
|
|
4388
|
+
],
|
|
4389
|
+
20,
|
|
4390
|
+
[
|
|
4391
|
+
"match",
|
|
4392
|
+
[
|
|
4393
|
+
"get",
|
|
4394
|
+
"class"
|
|
4395
|
+
],
|
|
4396
|
+
"motorway",
|
|
4397
|
+
24,
|
|
4398
|
+
"trunk",
|
|
4399
|
+
24,
|
|
4400
|
+
"primary",
|
|
4401
|
+
22,
|
|
4402
|
+
"secondary",
|
|
4403
|
+
20,
|
|
4404
|
+
"tertiary",
|
|
4405
|
+
18,
|
|
4406
|
+
"minor",
|
|
4407
|
+
17,
|
|
4408
|
+
"service",
|
|
4409
|
+
15,
|
|
4410
|
+
0
|
|
4411
|
+
]
|
|
4412
|
+
],
|
|
4413
|
+
"line-opacity": 1
|
|
4414
|
+
}
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
id: "osm-road-sections-single",
|
|
4418
|
+
type: "line",
|
|
4419
|
+
source: "openmaptiles",
|
|
4420
|
+
"source-layer": "transportation",
|
|
4421
|
+
metadata: {
|
|
4422
|
+
group: "osm",
|
|
4423
|
+
"sub-group": "osm-road-sections",
|
|
4424
|
+
type: "context",
|
|
4425
|
+
"legend-name": "OSM Fietspaden en voetpaden",
|
|
4426
|
+
desc: "OpenStreetMap paden en tracks",
|
|
4427
|
+
"insert-before": "background"
|
|
4428
|
+
},
|
|
4429
|
+
filter: [
|
|
4430
|
+
"in",
|
|
4431
|
+
"class",
|
|
4432
|
+
"path",
|
|
4433
|
+
"track"
|
|
4434
|
+
],
|
|
4435
|
+
layout: {
|
|
4436
|
+
visibility: "none",
|
|
4437
|
+
"line-cap": "round",
|
|
4438
|
+
"line-join": "round"
|
|
4439
|
+
},
|
|
4440
|
+
paint: {
|
|
4441
|
+
"line-color": [
|
|
4442
|
+
"match",
|
|
4443
|
+
[
|
|
4444
|
+
"get",
|
|
4445
|
+
"class"
|
|
4446
|
+
],
|
|
4447
|
+
"path",
|
|
4448
|
+
"hsl(19, 50%, 90%)",
|
|
4449
|
+
"track",
|
|
4450
|
+
"#f3e4d3",
|
|
4451
|
+
"#ffffff"
|
|
4452
|
+
],
|
|
4453
|
+
"line-width": [
|
|
4454
|
+
"interpolate",
|
|
4455
|
+
[
|
|
4456
|
+
"exponential",
|
|
4457
|
+
1.1
|
|
4458
|
+
],
|
|
4459
|
+
[
|
|
4460
|
+
"zoom"
|
|
4461
|
+
],
|
|
4462
|
+
10,
|
|
4463
|
+
0,
|
|
4464
|
+
13,
|
|
4465
|
+
1.5,
|
|
4466
|
+
15,
|
|
4467
|
+
3.5,
|
|
4468
|
+
20,
|
|
4469
|
+
10
|
|
4470
|
+
],
|
|
4471
|
+
"line-opacity": 1
|
|
4472
|
+
}
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
id: "osm-road-sections-casing-rel",
|
|
4476
|
+
type: "line",
|
|
4477
|
+
source: "openmaptiles",
|
|
4478
|
+
"source-layer": "transportation",
|
|
4479
|
+
metadata: {
|
|
4480
|
+
group: "osm",
|
|
4481
|
+
"sub-group": "osm-road-sections",
|
|
4482
|
+
type: "relevant",
|
|
4483
|
+
"legend-name": "OSM Wegvakken omlijning",
|
|
4484
|
+
desc: "OpenStreetMap wegen omlijning relevant",
|
|
4485
|
+
"insert-before": "background"
|
|
4486
|
+
},
|
|
4487
|
+
filter: [
|
|
4488
|
+
"all",
|
|
4489
|
+
[
|
|
4490
|
+
"!in",
|
|
4491
|
+
"class",
|
|
4492
|
+
"path",
|
|
4493
|
+
"track",
|
|
4494
|
+
"rail",
|
|
4495
|
+
"transit",
|
|
4496
|
+
"ferry"
|
|
4497
|
+
],
|
|
4498
|
+
[
|
|
4499
|
+
"!=",
|
|
4500
|
+
"brunnel",
|
|
4501
|
+
"tunnel"
|
|
4502
|
+
]
|
|
4503
|
+
],
|
|
4504
|
+
layout: {
|
|
4505
|
+
visibility: "none",
|
|
4506
|
+
"line-cap": "round",
|
|
4507
|
+
"line-join": "round",
|
|
4508
|
+
"line-sort-key": [
|
|
4509
|
+
"match",
|
|
4510
|
+
[
|
|
4511
|
+
"get",
|
|
4512
|
+
"class"
|
|
4513
|
+
],
|
|
4514
|
+
"motorway",
|
|
4515
|
+
7,
|
|
4516
|
+
"trunk",
|
|
4517
|
+
6,
|
|
4518
|
+
"primary",
|
|
4519
|
+
5,
|
|
4520
|
+
"secondary",
|
|
4521
|
+
4,
|
|
4522
|
+
"tertiary",
|
|
4523
|
+
3,
|
|
4524
|
+
"minor",
|
|
4525
|
+
2,
|
|
4526
|
+
"service",
|
|
4527
|
+
1,
|
|
4528
|
+
0
|
|
4529
|
+
]
|
|
4530
|
+
},
|
|
4531
|
+
paint: {
|
|
4532
|
+
"line-color": [
|
|
4533
|
+
"match",
|
|
4534
|
+
[
|
|
4535
|
+
"get",
|
|
4536
|
+
"class"
|
|
4537
|
+
],
|
|
4538
|
+
"motorway",
|
|
4539
|
+
"#dd5208",
|
|
4540
|
+
"trunk",
|
|
4541
|
+
"#dd5208",
|
|
4542
|
+
"primary",
|
|
4543
|
+
"#dd5208",
|
|
4544
|
+
"secondary",
|
|
4545
|
+
"#DC7019",
|
|
4546
|
+
"tertiary",
|
|
4547
|
+
"#DB9E32",
|
|
4548
|
+
"minor",
|
|
4549
|
+
"#E3C474",
|
|
4550
|
+
"service",
|
|
4551
|
+
"hsl(192, 5%, 72%)",
|
|
4552
|
+
"hsl(0, 0%, 100%)"
|
|
4553
|
+
],
|
|
4554
|
+
"line-width": [
|
|
4555
|
+
"interpolate",
|
|
4556
|
+
[
|
|
4557
|
+
"exponential",
|
|
4558
|
+
1.1
|
|
4559
|
+
],
|
|
4560
|
+
[
|
|
4561
|
+
"zoom"
|
|
4562
|
+
],
|
|
4563
|
+
10,
|
|
4564
|
+
[
|
|
4565
|
+
"match",
|
|
4566
|
+
[
|
|
4567
|
+
"get",
|
|
4568
|
+
"class"
|
|
4569
|
+
],
|
|
4570
|
+
"motorway",
|
|
4571
|
+
3.5,
|
|
4572
|
+
"trunk",
|
|
4573
|
+
3.5,
|
|
4574
|
+
"primary",
|
|
4575
|
+
3.5,
|
|
4576
|
+
"secondary",
|
|
4577
|
+
2.5,
|
|
4578
|
+
"tertiary",
|
|
4579
|
+
2.5,
|
|
4580
|
+
"minor",
|
|
4581
|
+
0,
|
|
4582
|
+
"service",
|
|
4583
|
+
0,
|
|
4584
|
+
0
|
|
4585
|
+
],
|
|
4586
|
+
13,
|
|
4587
|
+
[
|
|
4588
|
+
"match",
|
|
4589
|
+
[
|
|
4590
|
+
"get",
|
|
4591
|
+
"class"
|
|
4592
|
+
],
|
|
4593
|
+
"motorway",
|
|
4594
|
+
7.5,
|
|
4595
|
+
"trunk",
|
|
4596
|
+
6,
|
|
4597
|
+
"primary",
|
|
4598
|
+
6,
|
|
4599
|
+
"secondary",
|
|
4600
|
+
6,
|
|
4601
|
+
"tertiary",
|
|
4602
|
+
6,
|
|
4603
|
+
"minor",
|
|
4604
|
+
4.5,
|
|
4605
|
+
"service",
|
|
4606
|
+
3.5,
|
|
4607
|
+
0
|
|
4608
|
+
],
|
|
4609
|
+
15,
|
|
4610
|
+
[
|
|
4611
|
+
"match",
|
|
4612
|
+
[
|
|
4613
|
+
"get",
|
|
4614
|
+
"class"
|
|
4615
|
+
],
|
|
4616
|
+
"motorway",
|
|
4617
|
+
12.5,
|
|
4618
|
+
"trunk",
|
|
4619
|
+
12,
|
|
4620
|
+
"primary",
|
|
4621
|
+
11,
|
|
4622
|
+
"secondary",
|
|
4623
|
+
9,
|
|
4624
|
+
"tertiary",
|
|
4625
|
+
9,
|
|
4626
|
+
"minor",
|
|
4627
|
+
8,
|
|
4628
|
+
"service",
|
|
4629
|
+
5,
|
|
4630
|
+
0
|
|
4631
|
+
],
|
|
4632
|
+
20,
|
|
4633
|
+
[
|
|
4634
|
+
"match",
|
|
4635
|
+
[
|
|
4636
|
+
"get",
|
|
4637
|
+
"class"
|
|
4638
|
+
],
|
|
4639
|
+
"motorway",
|
|
4640
|
+
27,
|
|
4641
|
+
"trunk",
|
|
4642
|
+
27,
|
|
4643
|
+
"primary",
|
|
4644
|
+
25,
|
|
4645
|
+
"secondary",
|
|
4646
|
+
23,
|
|
4647
|
+
"tertiary",
|
|
4648
|
+
23,
|
|
4649
|
+
"minor",
|
|
4650
|
+
22,
|
|
4651
|
+
"service",
|
|
4652
|
+
20,
|
|
4653
|
+
0
|
|
4654
|
+
]
|
|
4655
|
+
],
|
|
4656
|
+
"line-opacity": 1
|
|
4657
|
+
}
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
id: "osm-road-sections-fill-rel",
|
|
4661
|
+
type: "line",
|
|
4662
|
+
source: "openmaptiles",
|
|
4663
|
+
"source-layer": "transportation",
|
|
4664
|
+
metadata: {
|
|
4665
|
+
group: "osm",
|
|
4666
|
+
"sub-group": "osm-road-sections",
|
|
4667
|
+
type: "relevant",
|
|
4668
|
+
"legend-name": "OSM Wegvakken vulling",
|
|
4669
|
+
desc: "OpenStreetMap wegen vulling relevant",
|
|
4670
|
+
"insert-before": "background"
|
|
4671
|
+
},
|
|
4672
|
+
filter: [
|
|
4673
|
+
"all",
|
|
4674
|
+
[
|
|
4675
|
+
"!in",
|
|
4676
|
+
"class",
|
|
4677
|
+
"path",
|
|
4678
|
+
"track",
|
|
4679
|
+
"rail",
|
|
4680
|
+
"transit",
|
|
4681
|
+
"ferry"
|
|
4682
|
+
],
|
|
4683
|
+
[
|
|
4684
|
+
"!=",
|
|
4685
|
+
"brunnel",
|
|
4686
|
+
"tunnel"
|
|
4687
|
+
]
|
|
4688
|
+
],
|
|
4689
|
+
layout: {
|
|
4690
|
+
visibility: "none",
|
|
4691
|
+
"line-cap": "round",
|
|
4692
|
+
"line-join": "round",
|
|
4693
|
+
"line-sort-key": [
|
|
4694
|
+
"match",
|
|
4695
|
+
[
|
|
4696
|
+
"get",
|
|
4697
|
+
"class"
|
|
4698
|
+
],
|
|
4699
|
+
"motorway",
|
|
4700
|
+
7,
|
|
4701
|
+
"trunk",
|
|
4702
|
+
6,
|
|
4703
|
+
"primary",
|
|
4704
|
+
5,
|
|
4705
|
+
"secondary",
|
|
4706
|
+
4,
|
|
4707
|
+
"tertiary",
|
|
4708
|
+
3,
|
|
4709
|
+
"minor",
|
|
4710
|
+
2,
|
|
4711
|
+
"service",
|
|
4712
|
+
1,
|
|
4713
|
+
0
|
|
4714
|
+
]
|
|
4715
|
+
},
|
|
4716
|
+
paint: {
|
|
4717
|
+
"line-color": [
|
|
4718
|
+
"match",
|
|
4719
|
+
[
|
|
4720
|
+
"get",
|
|
4721
|
+
"class"
|
|
4722
|
+
],
|
|
4723
|
+
"motorway",
|
|
4724
|
+
"#DB9E32",
|
|
4725
|
+
"trunk",
|
|
4726
|
+
"#DB9E32",
|
|
4727
|
+
"primary",
|
|
4728
|
+
"#DB9E32",
|
|
4729
|
+
"secondary",
|
|
4730
|
+
"#E3C474",
|
|
4731
|
+
"tertiary",
|
|
4732
|
+
"#E3C474",
|
|
4733
|
+
"minor",
|
|
4734
|
+
"#EDDBAF",
|
|
4735
|
+
"service",
|
|
4736
|
+
"#ffffff",
|
|
4737
|
+
"hsl(0, 0%, 100%)"
|
|
4738
|
+
],
|
|
4739
|
+
"line-width": [
|
|
4740
|
+
"interpolate",
|
|
4741
|
+
[
|
|
4742
|
+
"exponential",
|
|
4743
|
+
1.1
|
|
4744
|
+
],
|
|
4745
|
+
[
|
|
4746
|
+
"zoom"
|
|
4747
|
+
],
|
|
4748
|
+
10,
|
|
4749
|
+
[
|
|
4750
|
+
"match",
|
|
4751
|
+
[
|
|
4752
|
+
"get",
|
|
4753
|
+
"class"
|
|
4754
|
+
],
|
|
4755
|
+
"motorway",
|
|
4756
|
+
2.5,
|
|
4757
|
+
"trunk",
|
|
4758
|
+
2.5,
|
|
4759
|
+
"primary",
|
|
4760
|
+
2.5,
|
|
4761
|
+
"secondary",
|
|
4762
|
+
1.5,
|
|
4763
|
+
"tertiary",
|
|
4764
|
+
1.5,
|
|
4765
|
+
"minor",
|
|
4766
|
+
1,
|
|
4767
|
+
0
|
|
4768
|
+
],
|
|
4769
|
+
13,
|
|
4770
|
+
[
|
|
4771
|
+
"match",
|
|
4772
|
+
[
|
|
4773
|
+
"get",
|
|
4774
|
+
"class"
|
|
4775
|
+
],
|
|
4776
|
+
"motorway",
|
|
4777
|
+
6,
|
|
4778
|
+
"trunk",
|
|
4779
|
+
4,
|
|
4780
|
+
"primary",
|
|
4781
|
+
4,
|
|
4782
|
+
"secondary",
|
|
4783
|
+
4.1,
|
|
4784
|
+
"tertiary",
|
|
4785
|
+
4.1,
|
|
4786
|
+
"minor",
|
|
4787
|
+
2.7,
|
|
4788
|
+
"service",
|
|
4789
|
+
1.5,
|
|
4790
|
+
0
|
|
4791
|
+
],
|
|
4792
|
+
15,
|
|
4793
|
+
[
|
|
4794
|
+
"match",
|
|
4795
|
+
[
|
|
4796
|
+
"get",
|
|
4797
|
+
"class"
|
|
4798
|
+
],
|
|
4799
|
+
"motorway",
|
|
4800
|
+
10,
|
|
4801
|
+
"trunk",
|
|
4802
|
+
9.5,
|
|
4803
|
+
"primary",
|
|
4804
|
+
8.4,
|
|
4805
|
+
"secondary",
|
|
4806
|
+
6.4,
|
|
4807
|
+
"tertiary",
|
|
4808
|
+
6.4,
|
|
4809
|
+
"minor",
|
|
4810
|
+
5.4,
|
|
4811
|
+
"service",
|
|
4812
|
+
4,
|
|
4813
|
+
0
|
|
4814
|
+
],
|
|
4815
|
+
20,
|
|
4816
|
+
[
|
|
4817
|
+
"match",
|
|
4818
|
+
[
|
|
4819
|
+
"get",
|
|
4820
|
+
"class"
|
|
4821
|
+
],
|
|
4822
|
+
"motorway",
|
|
4823
|
+
24,
|
|
4824
|
+
"trunk",
|
|
4825
|
+
24,
|
|
4826
|
+
"primary",
|
|
4827
|
+
22,
|
|
4828
|
+
"secondary",
|
|
4829
|
+
20,
|
|
4830
|
+
"tertiary",
|
|
4831
|
+
18,
|
|
4832
|
+
"minor",
|
|
4833
|
+
17,
|
|
4834
|
+
"service",
|
|
4835
|
+
15,
|
|
4836
|
+
0
|
|
4837
|
+
]
|
|
4838
|
+
],
|
|
4839
|
+
"line-opacity": 1
|
|
4840
|
+
}
|
|
4841
|
+
},
|
|
4842
|
+
{
|
|
4843
|
+
id: "osm-road-sections-single-rel",
|
|
4844
|
+
type: "line",
|
|
4845
|
+
source: "openmaptiles",
|
|
4846
|
+
"source-layer": "transportation",
|
|
4847
|
+
metadata: {
|
|
4848
|
+
group: "osm",
|
|
4849
|
+
"sub-group": "osm-road-sections",
|
|
4850
|
+
type: "relevant",
|
|
4851
|
+
"legend-name": "OSM Fietspaden en voetpaden",
|
|
4852
|
+
desc: "OpenStreetMap paden en tracks relevant",
|
|
4853
|
+
"insert-before": "background"
|
|
4854
|
+
},
|
|
4855
|
+
filter: [
|
|
4856
|
+
"in",
|
|
4857
|
+
"class",
|
|
4858
|
+
"path",
|
|
4859
|
+
"track"
|
|
4860
|
+
],
|
|
4861
|
+
layout: {
|
|
4862
|
+
visibility: "none",
|
|
4863
|
+
"line-cap": "round",
|
|
4864
|
+
"line-join": "round"
|
|
4865
|
+
},
|
|
4866
|
+
paint: {
|
|
4867
|
+
"line-color": [
|
|
4868
|
+
"match",
|
|
4869
|
+
[
|
|
4870
|
+
"get",
|
|
4871
|
+
"class"
|
|
4872
|
+
],
|
|
4873
|
+
"path",
|
|
4874
|
+
"hsl(19, 80%, 80%)",
|
|
4875
|
+
"track",
|
|
4876
|
+
"#f3e4d3",
|
|
4877
|
+
"#ffffff"
|
|
4878
|
+
],
|
|
4879
|
+
"line-width": [
|
|
4880
|
+
"interpolate",
|
|
4881
|
+
[
|
|
4882
|
+
"exponential",
|
|
4883
|
+
1.1
|
|
4884
|
+
],
|
|
4885
|
+
[
|
|
4886
|
+
"zoom"
|
|
4887
|
+
],
|
|
4888
|
+
10,
|
|
4889
|
+
0,
|
|
4890
|
+
13,
|
|
4891
|
+
0.5,
|
|
4892
|
+
15,
|
|
4893
|
+
3.5,
|
|
4894
|
+
20,
|
|
4895
|
+
10
|
|
4896
|
+
],
|
|
4897
|
+
"line-opacity": 1
|
|
4898
|
+
}
|
|
4899
|
+
},
|
|
4900
|
+
{
|
|
4901
|
+
id: "brt-railway-center-line",
|
|
4902
|
+
type: "line",
|
|
4903
|
+
source: "pdok-brt",
|
|
4904
|
+
"source-layer": "spoorbaandeellijn",
|
|
4905
|
+
minzoom: 9,
|
|
4906
|
+
metadata: {
|
|
4907
|
+
group: "context-map",
|
|
4908
|
+
"sub-group": "railway",
|
|
4909
|
+
type: "context",
|
|
4910
|
+
"legend-name": "Spoorlijnen",
|
|
4911
|
+
desc: "trein, metro, tram. beschikbaar van z9. Over de wegen heen.",
|
|
4912
|
+
"insert-before": "lines-overlay"
|
|
4913
|
+
},
|
|
4914
|
+
layout: {
|
|
4915
|
+
visibility: "visible",
|
|
4916
|
+
"line-cap": "round",
|
|
4917
|
+
"line-join": "round"
|
|
4918
|
+
},
|
|
4919
|
+
paint: {
|
|
4920
|
+
"line-color": [
|
|
4921
|
+
"match",
|
|
4922
|
+
[
|
|
4923
|
+
"get",
|
|
4924
|
+
"vistext"
|
|
4925
|
+
],
|
|
4926
|
+
"treinspoor",
|
|
4927
|
+
"#a3a7aa",
|
|
4928
|
+
"spoor in tunnel",
|
|
4929
|
+
"#a3a7aa",
|
|
4930
|
+
"metro / sneltram",
|
|
4931
|
+
"#cbcdd9",
|
|
4932
|
+
"metro / sneltram in tunnel",
|
|
4933
|
+
"#cbcdd9",
|
|
4934
|
+
"tram",
|
|
4935
|
+
"#a3a7aa",
|
|
4936
|
+
"tram in tunnel",
|
|
4937
|
+
"#a3a7aa",
|
|
4938
|
+
"overig",
|
|
4939
|
+
"#a3a7aa",
|
|
4940
|
+
"spoor onder ander object",
|
|
4941
|
+
"#a3a7aa",
|
|
4942
|
+
"transparent"
|
|
4943
|
+
],
|
|
4944
|
+
"line-width": [
|
|
4945
|
+
"interpolate",
|
|
4946
|
+
[
|
|
4947
|
+
"linear"
|
|
4948
|
+
],
|
|
4949
|
+
[
|
|
4950
|
+
"zoom"
|
|
4951
|
+
],
|
|
4952
|
+
12,
|
|
4953
|
+
[
|
|
4954
|
+
"match",
|
|
4955
|
+
[
|
|
4956
|
+
"get",
|
|
4957
|
+
"vistext"
|
|
4958
|
+
],
|
|
4959
|
+
"treinspoor",
|
|
4960
|
+
0.8,
|
|
4961
|
+
"spoor in tunnel",
|
|
4962
|
+
0.5,
|
|
4963
|
+
"metro / sneltram",
|
|
4964
|
+
0.1,
|
|
4965
|
+
"metro / sneltram in tunnel",
|
|
4966
|
+
0.1,
|
|
4967
|
+
"tram",
|
|
4968
|
+
0.1,
|
|
4969
|
+
"tram in tunnel",
|
|
4970
|
+
0.1,
|
|
4971
|
+
"overig",
|
|
4972
|
+
0.1,
|
|
4973
|
+
"spoor onder ander object",
|
|
4974
|
+
1,
|
|
4975
|
+
10
|
|
4976
|
+
],
|
|
4977
|
+
16,
|
|
4978
|
+
[
|
|
4979
|
+
"match",
|
|
4980
|
+
[
|
|
4981
|
+
"get",
|
|
4982
|
+
"vistext"
|
|
4983
|
+
],
|
|
4984
|
+
"treinspoor",
|
|
4985
|
+
1.5,
|
|
4986
|
+
"spoor in tunnel",
|
|
4987
|
+
1.5,
|
|
4988
|
+
"metro / sneltram",
|
|
4989
|
+
3,
|
|
4990
|
+
"metro / sneltram in tunnel",
|
|
4991
|
+
3,
|
|
4992
|
+
"tram",
|
|
4993
|
+
1,
|
|
4994
|
+
"tram in tunnel",
|
|
4995
|
+
1,
|
|
4996
|
+
"overig",
|
|
4997
|
+
0.5,
|
|
4998
|
+
"spoor onder ander object",
|
|
4999
|
+
1.5,
|
|
5000
|
+
10
|
|
5001
|
+
]
|
|
5002
|
+
],
|
|
5003
|
+
"line-opacity": [
|
|
5004
|
+
"match",
|
|
5005
|
+
[
|
|
5006
|
+
"get",
|
|
5007
|
+
"vistext"
|
|
5008
|
+
],
|
|
5009
|
+
"spoor onder ander object",
|
|
5010
|
+
0.5,
|
|
5011
|
+
"spoor in tunnel",
|
|
5012
|
+
0.5,
|
|
5013
|
+
"metro / sneltram in tunnel",
|
|
5014
|
+
0.5,
|
|
5015
|
+
"tram in tunnel",
|
|
5016
|
+
0.5,
|
|
5017
|
+
1
|
|
5018
|
+
]
|
|
5019
|
+
}
|
|
5020
|
+
},
|
|
5021
|
+
{
|
|
5022
|
+
id: "brt-railway-center-dash",
|
|
5023
|
+
type: "line",
|
|
5024
|
+
source: "pdok-brt",
|
|
5025
|
+
"source-layer": "spoorbaandeellijn",
|
|
5026
|
+
minzoom: 14,
|
|
5027
|
+
metadata: {
|
|
5028
|
+
group: "context-map",
|
|
5029
|
+
"sub-group": "railway",
|
|
5030
|
+
type: "context",
|
|
5031
|
+
"legend-name": "Spoorlijnen dash voor trein",
|
|
5032
|
+
desc: "trein. beschikbaar van z14. Over de wegen heen.",
|
|
5033
|
+
"insert-before": "lines-overlay"
|
|
5034
|
+
},
|
|
5035
|
+
filter: [
|
|
5036
|
+
"any",
|
|
5037
|
+
[
|
|
5038
|
+
"==",
|
|
5039
|
+
[
|
|
5040
|
+
"get",
|
|
5041
|
+
"vistext"
|
|
5042
|
+
],
|
|
5043
|
+
"treinspoor"
|
|
5044
|
+
],
|
|
5045
|
+
[
|
|
5046
|
+
"==",
|
|
5047
|
+
[
|
|
5048
|
+
"get",
|
|
5049
|
+
"vistext"
|
|
5050
|
+
],
|
|
5051
|
+
"overig"
|
|
5052
|
+
],
|
|
5053
|
+
[
|
|
5054
|
+
"==",
|
|
5055
|
+
[
|
|
5056
|
+
"get",
|
|
5057
|
+
"vistext"
|
|
5058
|
+
],
|
|
5059
|
+
"spoor in tunnel"
|
|
5060
|
+
]
|
|
5061
|
+
],
|
|
5062
|
+
layout: {
|
|
5063
|
+
visibility: "visible",
|
|
5064
|
+
"line-cap": "butt",
|
|
5065
|
+
"line-join": "round"
|
|
5066
|
+
},
|
|
5067
|
+
paint: {
|
|
5068
|
+
"line-dasharray": [
|
|
5069
|
+
0.1,
|
|
5070
|
+
5
|
|
5071
|
+
],
|
|
5072
|
+
"line-color": [
|
|
5073
|
+
"match",
|
|
5074
|
+
[
|
|
5075
|
+
"get",
|
|
5076
|
+
"vistext"
|
|
5077
|
+
],
|
|
5078
|
+
"treinspoor",
|
|
5079
|
+
"#a3a7aa",
|
|
5080
|
+
"spoor in tunnel",
|
|
5081
|
+
"#a3a7aa",
|
|
5082
|
+
"overig",
|
|
5083
|
+
"#a3a7aa",
|
|
5084
|
+
"spoor onder ander object",
|
|
5085
|
+
"#a3a7aa",
|
|
5086
|
+
"transparent"
|
|
5087
|
+
],
|
|
5088
|
+
"line-width": [
|
|
5089
|
+
"interpolate",
|
|
5090
|
+
[
|
|
5091
|
+
"linear"
|
|
5092
|
+
],
|
|
5093
|
+
[
|
|
5094
|
+
"zoom"
|
|
5095
|
+
],
|
|
5096
|
+
14,
|
|
5097
|
+
[
|
|
5098
|
+
"match",
|
|
5099
|
+
[
|
|
5100
|
+
"get",
|
|
5101
|
+
"vistext"
|
|
5102
|
+
],
|
|
5103
|
+
"treinspoor",
|
|
5104
|
+
3,
|
|
5105
|
+
"spoor in tunnel",
|
|
5106
|
+
3.5,
|
|
5107
|
+
"overig",
|
|
5108
|
+
3.1,
|
|
5109
|
+
"spoor onder ander object",
|
|
4251
5110
|
3,
|
|
4252
5111
|
10
|
|
4253
5112
|
],
|
|
@@ -5133,6 +5992,208 @@ var layers = [
|
|
|
5133
5992
|
"text-halo-width": 1.5
|
|
5134
5993
|
}
|
|
5135
5994
|
},
|
|
5995
|
+
{
|
|
5996
|
+
id: "osm-road-names",
|
|
5997
|
+
type: "symbol",
|
|
5998
|
+
source: "openmaptiles",
|
|
5999
|
+
"source-layer": "transportation_name",
|
|
6000
|
+
metadata: {
|
|
6001
|
+
group: "osm",
|
|
6002
|
+
"sub-group": "osm-road-names",
|
|
6003
|
+
type: "context",
|
|
6004
|
+
"legend-name": "OSM Weg namen",
|
|
6005
|
+
desc: "OpenStreetMap straatnamen",
|
|
6006
|
+
"insert-before": "label"
|
|
6007
|
+
},
|
|
6008
|
+
minzoom: 12,
|
|
6009
|
+
filter: [
|
|
6010
|
+
"all",
|
|
6011
|
+
[
|
|
6012
|
+
"!in",
|
|
6013
|
+
"class",
|
|
6014
|
+
"path",
|
|
6015
|
+
"track",
|
|
6016
|
+
"motorway",
|
|
6017
|
+
"trunk",
|
|
6018
|
+
"primary"
|
|
6019
|
+
]
|
|
6020
|
+
],
|
|
6021
|
+
layout: {
|
|
6022
|
+
visibility: "none",
|
|
6023
|
+
"symbol-sort-key": [
|
|
6024
|
+
"match",
|
|
6025
|
+
[
|
|
6026
|
+
"get",
|
|
6027
|
+
"class"
|
|
6028
|
+
],
|
|
6029
|
+
"secondary",
|
|
6030
|
+
5,
|
|
6031
|
+
"tertiary",
|
|
6032
|
+
4,
|
|
6033
|
+
"minor",
|
|
6034
|
+
3,
|
|
6035
|
+
"service",
|
|
6036
|
+
2,
|
|
6037
|
+
0
|
|
6038
|
+
],
|
|
6039
|
+
"symbol-placement": "line",
|
|
6040
|
+
"text-field": "{name}",
|
|
6041
|
+
"text-max-angle": 50,
|
|
6042
|
+
"text-padding": 30,
|
|
6043
|
+
"text-font": [
|
|
6044
|
+
"case",
|
|
6045
|
+
[
|
|
6046
|
+
"==",
|
|
6047
|
+
[
|
|
6048
|
+
"get",
|
|
6049
|
+
"class"
|
|
6050
|
+
],
|
|
6051
|
+
"secondary"
|
|
6052
|
+
],
|
|
6053
|
+
[
|
|
6054
|
+
"literal",
|
|
6055
|
+
[
|
|
6056
|
+
"Noto Sans Bold"
|
|
6057
|
+
]
|
|
6058
|
+
],
|
|
6059
|
+
[
|
|
6060
|
+
"literal",
|
|
6061
|
+
[
|
|
6062
|
+
"Noto Sans Regular"
|
|
6063
|
+
]
|
|
6064
|
+
]
|
|
6065
|
+
],
|
|
6066
|
+
"text-size": [
|
|
6067
|
+
"match",
|
|
6068
|
+
[
|
|
6069
|
+
"get",
|
|
6070
|
+
"class"
|
|
6071
|
+
],
|
|
6072
|
+
"secondary",
|
|
6073
|
+
14,
|
|
6074
|
+
"tertiary",
|
|
6075
|
+
12,
|
|
6076
|
+
"minor",
|
|
6077
|
+
11,
|
|
6078
|
+
"service",
|
|
6079
|
+
11,
|
|
6080
|
+
0
|
|
6081
|
+
],
|
|
6082
|
+
"text-rotation-alignment": "map"
|
|
6083
|
+
},
|
|
6084
|
+
paint: {
|
|
6085
|
+
"text-color": "hsl(196, 13%, 29%)",
|
|
6086
|
+
"text-halo-color": "#f8f4f0",
|
|
6087
|
+
"text-halo-width": 1.5
|
|
6088
|
+
}
|
|
6089
|
+
},
|
|
6090
|
+
{
|
|
6091
|
+
id: "osm-road-names-number",
|
|
6092
|
+
type: "symbol",
|
|
6093
|
+
source: "openmaptiles",
|
|
6094
|
+
"source-layer": "transportation_name",
|
|
6095
|
+
metadata: {
|
|
6096
|
+
group: "osm",
|
|
6097
|
+
"sub-group": "osm-road-names",
|
|
6098
|
+
type: "context",
|
|
6099
|
+
"legend-name": "OSM Weg nummers",
|
|
6100
|
+
desc: "OpenStreetMap A en N wegnummers",
|
|
6101
|
+
"insert-before": "label"
|
|
6102
|
+
},
|
|
6103
|
+
minzoom: 6,
|
|
6104
|
+
filter: [
|
|
6105
|
+
"all",
|
|
6106
|
+
[
|
|
6107
|
+
"has",
|
|
6108
|
+
"ref"
|
|
6109
|
+
],
|
|
6110
|
+
[
|
|
6111
|
+
"in",
|
|
6112
|
+
"class",
|
|
6113
|
+
"motorway",
|
|
6114
|
+
"trunk",
|
|
6115
|
+
"primary",
|
|
6116
|
+
"secondary"
|
|
6117
|
+
]
|
|
6118
|
+
],
|
|
6119
|
+
layout: {
|
|
6120
|
+
visibility: "none",
|
|
6121
|
+
"symbol-sort-key": [
|
|
6122
|
+
"match",
|
|
6123
|
+
[
|
|
6124
|
+
"get",
|
|
6125
|
+
"class"
|
|
6126
|
+
],
|
|
6127
|
+
"motorway",
|
|
6128
|
+
7,
|
|
6129
|
+
"trunk",
|
|
6130
|
+
6,
|
|
6131
|
+
"primary",
|
|
6132
|
+
5,
|
|
6133
|
+
"secondary",
|
|
6134
|
+
4,
|
|
6135
|
+
0
|
|
6136
|
+
],
|
|
6137
|
+
"symbol-placement": "line",
|
|
6138
|
+
"symbol-spacing": [
|
|
6139
|
+
"interpolate",
|
|
6140
|
+
[
|
|
6141
|
+
"linear"
|
|
6142
|
+
],
|
|
6143
|
+
[
|
|
6144
|
+
"zoom"
|
|
6145
|
+
],
|
|
6146
|
+
8,
|
|
6147
|
+
400,
|
|
6148
|
+
10,
|
|
6149
|
+
250,
|
|
6150
|
+
20,
|
|
6151
|
+
500
|
|
6152
|
+
],
|
|
6153
|
+
"text-field": "{ref}",
|
|
6154
|
+
"text-max-angle": [
|
|
6155
|
+
"interpolate",
|
|
6156
|
+
[
|
|
6157
|
+
"linear"
|
|
6158
|
+
],
|
|
6159
|
+
[
|
|
6160
|
+
"zoom"
|
|
6161
|
+
],
|
|
6162
|
+
6,
|
|
6163
|
+
20,
|
|
6164
|
+
8,
|
|
6165
|
+
5,
|
|
6166
|
+
20,
|
|
6167
|
+
0
|
|
6168
|
+
],
|
|
6169
|
+
"text-padding": 8,
|
|
6170
|
+
"text-font": [
|
|
6171
|
+
"Noto Sans Bold"
|
|
6172
|
+
],
|
|
6173
|
+
"text-size": [
|
|
6174
|
+
"match",
|
|
6175
|
+
[
|
|
6176
|
+
"get",
|
|
6177
|
+
"class"
|
|
6178
|
+
],
|
|
6179
|
+
"motorway",
|
|
6180
|
+
12,
|
|
6181
|
+
"trunk",
|
|
6182
|
+
11,
|
|
6183
|
+
"primary",
|
|
6184
|
+
11,
|
|
6185
|
+
"secondary",
|
|
6186
|
+
10,
|
|
6187
|
+
0
|
|
6188
|
+
],
|
|
6189
|
+
"text-rotation-alignment": "viewport"
|
|
6190
|
+
},
|
|
6191
|
+
paint: {
|
|
6192
|
+
"text-color": "#f8f4f0",
|
|
6193
|
+
"text-halo-color": "hsl(196, 13%, 50%)",
|
|
6194
|
+
"text-halo-width": 30
|
|
6195
|
+
}
|
|
6196
|
+
},
|
|
5136
6197
|
{
|
|
5137
6198
|
id: "brt-district-names",
|
|
5138
6199
|
type: "symbol",
|
|
@@ -5896,11 +6957,55 @@ var style = {
|
|
|
5896
6957
|
layers: layers
|
|
5897
6958
|
};
|
|
5898
6959
|
|
|
5899
|
-
const
|
|
6960
|
+
const SPRITE_HOST = 'https://design.ndw.nu/map-storybook';
|
|
6961
|
+
function resolveSprites(sprites) {
|
|
6962
|
+
const s = sprites;
|
|
6963
|
+
if (!Array.isArray(s))
|
|
6964
|
+
return s;
|
|
6965
|
+
if (typeof location === 'undefined')
|
|
6966
|
+
return s;
|
|
6967
|
+
const spriteBase = location.hostname === 'localhost' ? location.origin : location.origin + '/map-storybook';
|
|
6968
|
+
return s.map((entry) => ({
|
|
6969
|
+
...entry,
|
|
6970
|
+
url: entry.url.includes(SPRITE_HOST) ? entry.url.replace(SPRITE_HOST, spriteBase) : entry.url,
|
|
6971
|
+
}));
|
|
6972
|
+
}
|
|
6973
|
+
function isNwbRoadLayer(id) {
|
|
6974
|
+
return id.startsWith('ndw-nwb-') || id.startsWith('nwb-');
|
|
6975
|
+
}
|
|
6976
|
+
const OSM_DEFAULT_VISIBLE = new Set([
|
|
6977
|
+
'osm-road-sections-casing',
|
|
6978
|
+
'osm-road-sections-fill',
|
|
6979
|
+
'osm-road-sections-single',
|
|
6980
|
+
]);
|
|
6981
|
+
function swapRoadVisibility(layers, hide, show) {
|
|
6982
|
+
return layers.map((layer) => {
|
|
6983
|
+
if (hide(layer.id) && layer.layout?.visibility !== 'none') {
|
|
6984
|
+
return { ...layer, layout: { ...layer.layout, visibility: 'none' } };
|
|
6985
|
+
}
|
|
6986
|
+
if (show.has(layer.id) && layer.layout?.visibility === 'none') {
|
|
6987
|
+
return { ...layer, layout: { ...layer.layout, visibility: 'visible' } };
|
|
6988
|
+
}
|
|
6989
|
+
return layer;
|
|
6990
|
+
});
|
|
6991
|
+
}
|
|
6992
|
+
const NDWMapStyle = {
|
|
6993
|
+
...style,
|
|
6994
|
+
get sprite() {
|
|
6995
|
+
return resolveSprites(style.sprite);
|
|
6996
|
+
},
|
|
6997
|
+
};
|
|
6998
|
+
const NDWOSMMapStyle = {
|
|
6999
|
+
...style,
|
|
7000
|
+
layers: swapRoadVisibility(style.layers, isNwbRoadLayer, OSM_DEFAULT_VISIBLE),
|
|
7001
|
+
get sprite() {
|
|
7002
|
+
return resolveSprites(style.sprite);
|
|
7003
|
+
},
|
|
7004
|
+
};
|
|
5900
7005
|
|
|
5901
7006
|
/**
|
|
5902
7007
|
* Generated bundle index. Do not edit.
|
|
5903
7008
|
*/
|
|
5904
7009
|
|
|
5905
|
-
export { ApiBackgroundLayer, ApiElement, ApiLayer, ApiSource, BOUNDS_AMERSFOORT, BOUNDS_NL, COMMON_BOUNDS, DEFAULT_MAP_CONFIG, MapComponent, MapElement, MapElementRepository, MapLayer, MapSource, MaplibreCursorService, NDWMapStyle, lineWidthFrcSpecification };
|
|
7010
|
+
export { ApiBackgroundLayer, ApiElement, ApiLayer, ApiSource, BOUNDS_AMERSFOORT, BOUNDS_NL, COMMON_BOUNDS, DEFAULT_MAP_CONFIG, MapComponent, MapElement, MapElementRepository, MapLayer, MapSource, MaplibreCursorService, NDWMapStyle, NDWOSMMapStyle, lineWidthFrcSpecification };
|
|
5906
7011
|
//# sourceMappingURL=ndwnu-map.mjs.map
|