@flowmap.gl/data 8.0.0-y.14 → 8.0.2

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.
Files changed (58) hide show
  1. package/.turbo/turbo-build.log +2 -0
  2. package/.turbo/turbo-dev.log +670 -0
  3. package/LICENSE +2 -2
  4. package/dist/FlowmapAggregateAccessors.d.ts +4 -4
  5. package/dist/FlowmapAggregateAccessors.d.ts.map +1 -1
  6. package/dist/FlowmapAggregateAccessors.js +16 -9
  7. package/dist/FlowmapSelectors.d.ts +39 -85
  8. package/dist/FlowmapSelectors.d.ts.map +1 -1
  9. package/dist/FlowmapSelectors.js +128 -144
  10. package/dist/FlowmapState.d.ts +7 -5
  11. package/dist/FlowmapState.d.ts.map +1 -1
  12. package/dist/FlowmapState.js +6 -1
  13. package/dist/cluster/ClusterIndex.d.ts +4 -4
  14. package/dist/cluster/ClusterIndex.d.ts.map +1 -1
  15. package/dist/cluster/ClusterIndex.js +5 -17
  16. package/dist/cluster/cluster.d.ts +20 -1
  17. package/dist/cluster/cluster.d.ts.map +1 -1
  18. package/dist/cluster/cluster.js +108 -52
  19. package/dist/colors.d.ts +3 -3
  20. package/dist/colors.d.ts.map +1 -1
  21. package/dist/colors.js +19 -8
  22. package/dist/getViewStateForLocations.d.ts +2 -2
  23. package/dist/getViewStateForLocations.d.ts.map +1 -1
  24. package/dist/getViewStateForLocations.js +18 -8
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +9 -1
  28. package/dist/provider/FlowmapDataProvider.d.ts +7 -2
  29. package/dist/provider/FlowmapDataProvider.d.ts.map +1 -1
  30. package/dist/provider/FlowmapDataProvider.js +11 -6
  31. package/dist/provider/LocalFlowmapDataProvider.d.ts +15 -4
  32. package/dist/provider/LocalFlowmapDataProvider.d.ts.map +1 -1
  33. package/dist/provider/LocalFlowmapDataProvider.js +98 -81
  34. package/dist/selector-functions.d.ts +10 -0
  35. package/dist/selector-functions.d.ts.map +1 -0
  36. package/dist/selector-functions.js +65 -0
  37. package/dist/time.d.ts.map +1 -1
  38. package/dist/time.js +6 -1
  39. package/dist/types.d.ts +18 -16
  40. package/dist/types.d.ts.map +1 -1
  41. package/dist/types.js +9 -4
  42. package/dist/util.d.ts.map +1 -1
  43. package/dist/util.js +6 -1
  44. package/package.json +22 -23
  45. package/src/FlowmapAggregateAccessors.ts +21 -10
  46. package/src/FlowmapSelectors.ts +271 -264
  47. package/src/FlowmapState.ts +13 -5
  48. package/src/cluster/ClusterIndex.ts +23 -28
  49. package/src/cluster/cluster.ts +145 -56
  50. package/src/colors.ts +13 -9
  51. package/src/getViewStateForLocations.ts +6 -0
  52. package/src/index.ts +9 -0
  53. package/src/provider/FlowmapDataProvider.ts +23 -7
  54. package/src/provider/LocalFlowmapDataProvider.ts +68 -5
  55. package/src/selector-functions.ts +93 -0
  56. package/src/time.ts +6 -0
  57. package/src/types.ts +21 -13
  58. package/src/util.ts +6 -0
@@ -0,0 +1,2 @@
1
+
2
+ $ rm -rf dist && tsc
@@ -0,0 +1,670 @@
1
+
2
+ $ tsc --watch
3
+ c[1:19:50 PM] Starting compilation in watch mode...
4
+
5
+ [1:19:51 PM] Found 0 errors. Watching for file changes.
6
+
7
+ c[1:23:06 PM] File change detected. Starting incremental compilation...
8
+
9
+ [1:23:07 PM] Found 0 errors. Watching for file changes.
10
+
11
+ c[1:24:15 PM] File change detected. Starting incremental compilation...
12
+
13
+ [1:24:16 PM] Found 0 errors. Watching for file changes.
14
+
15
+ c[1:25:21 PM] File change detected. Starting incremental compilation...
16
+
17
+ [1:25:22 PM] Found 0 errors. Watching for file changes.
18
+
19
+ c[1:26:25 PM] File change detected. Starting incremental compilation...
20
+
21
+ [1:26:26 PM] Found 0 errors. Watching for file changes.
22
+
23
+ c[2:30:53 PM] File change detected. Starting incremental compilation...
24
+
25
+ [2:30:53 PM] Found 0 errors. Watching for file changes.
26
+
27
+ c[2:31:44 PM] File change detected. Starting incremental compilation...
28
+
29
+ src/FlowmapSelectors.ts:1330:19 - error TS1135: Argument expression expected.
30
+
31
+ 1330 console.log(, {bbox: [x1, y1, x2, y2], tree, pointsInBbox});
32
+    ~
33
+
34
+ [2:31:45 PM] Found 1 error. Watching for file changes.
35
+
36
+ c[2:31:48 PM] File change detected. Starting incremental compilation...
37
+
38
+ [2:31:48 PM] Found 0 errors. Watching for file changes.
39
+
40
+ c[2:33:05 PM] File change detected. Starting incremental compilation...
41
+
42
+ [2:33:06 PM] Found 0 errors. Watching for file changes.
43
+
44
+ c[2:34:02 PM] File change detected. Starting incremental compilation...
45
+
46
+ [2:34:02 PM] Found 0 errors. Watching for file changes.
47
+
48
+ c[2:34:46 PM] File change detected. Starting incremental compilation...
49
+
50
+ [2:34:47 PM] Found 0 errors. Watching for file changes.
51
+
52
+ c[2:35:08 PM] File change detected. Starting incremental compilation...
53
+
54
+ src/FlowmapSelectors.ts:1122:26 - error TS1005: ',' expected.
55
+
56
+ 1122 prepareLayersData(state: FlowmapState, props: FlowmapData<L, F>): LayersData {
57
+    ~
58
+
59
+ src/FlowmapSelectors.ts:1122:47 - error TS1005: ',' expected.
60
+
61
+ 1122 prepareLayersData(state: FlowmapState, props: FlowmapData<L, F>): LayersData {
62
+    ~
63
+
64
+ src/FlowmapSelectors.ts:1122:67 - error TS1005: ',' expected.
65
+
66
+ 1122 prepareLayersData(state: FlowmapState, props: FlowmapData<L, F>): LayersData {
67
+    ~
68
+
69
+ src/FlowmapSelectors.ts:1122:80 - error TS1005: ',' expected.
70
+
71
+ 1122 prepareLayersData(state: FlowmapState, props: FlowmapData<L, F>): LayersData {
72
+    ~
73
+
74
+ src/FlowmapSelectors.ts:1123:11 - error TS1005: ':' expected.
75
+
76
+ 1123 const locations = this.getLocationsForFlowmapLayer(state, props) || [];
77
+    ~~~~~~~~~
78
+
79
+ src/FlowmapSelectors.ts:1123:75 - error TS1005: ',' expected.
80
+
81
+ 1123 const locations = this.getLocationsForFlowmapLayer(state, props) || [];
82
+    ~
83
+
84
+ src/FlowmapSelectors.ts:1124:11 - error TS1005: ':' expected.
85
+
86
+ 1124 const flows = this.getFlowsForFlowmapLayer(state, props) || [];
87
+    ~~~~~
88
+
89
+ src/FlowmapSelectors.ts:1124:67 - error TS1005: ',' expected.
90
+
91
+ 1124 const flows = this.getFlowsForFlowmapLayer(state, props) || [];
92
+    ~
93
+
94
+ src/FlowmapSelectors.ts:1125:11 - error TS1005: ':' expected.
95
+
96
+ 1125 const flowmapColors = this.getFlowmapColorsRGBA(state, props);
97
+    ~~~~~~~~~~~~~
98
+
99
+ src/FlowmapSelectors.ts:1125:66 - error TS1005: ',' expected.
100
+
101
+ 1125 const flowmapColors = this.getFlowmapColorsRGBA(state, props);
102
+    ~
103
+
104
+ src/FlowmapSelectors.ts:1126:11 - error TS1005: ':' expected.
105
+
106
+ 1126 const locationsById = this.getLocationsForFlowmapLayerById(state, props);
107
+    ~~~~~~~~~~~~~
108
+
109
+ src/FlowmapSelectors.ts:1126:77 - error TS1005: ',' expected.
110
+
111
+ 1126 const locationsById = this.getLocationsForFlowmapLayerById(state, props);
112
+    ~
113
+
114
+ src/FlowmapSelectors.ts:1127:11 - error TS1005: ':' expected.
115
+
116
+ 1127 const locationIdsInViewport = this.getLocationIdsInViewport(state, props);
117
+    ~~~~~~~~~~~~~~~~~~~~~
118
+
119
+ src/FlowmapSelectors.ts:1127:78 - error TS1005: ',' expected.
120
+
121
+ 1127 const locationIdsInViewport = this.getLocationIdsInViewport(state, props);
122
+    ~
123
+
124
+ src/FlowmapSelectors.ts:1128:11 - error TS1005: ':' expected.
125
+
126
+ 1128 const getInCircleSize = this.getInCircleSizeGetter(state, props);
127
+    ~~~~~~~~~~~~~~~
128
+
129
+ src/FlowmapSelectors.ts:1128:69 - error TS1005: ',' expected.
130
+
131
+ 1128 const getInCircleSize = this.getInCircleSizeGetter(state, props);
132
+    ~
133
+
134
+ src/FlowmapSelectors.ts:1129:11 - error TS1005: ':' expected.
135
+
136
+ 1129 const getOutCircleSize = this.getOutCircleSizeGetter(state, props);
137
+    ~~~~~~~~~~~~~~~~
138
+
139
+ src/FlowmapSelectors.ts:1129:71 - error TS1005: ',' expected.
140
+
141
+ 1129 const getOutCircleSize = this.getOutCircleSizeGetter(state, props);
142
+    ~
143
+
144
+ src/FlowmapSelectors.ts:1130:11 - error TS1005: ':' expected.
145
+
146
+ 1130 const flowThicknessScale = this.getFlowThicknessScale(state, props);
147
+    ~~~~~~~~~~~~~~~~~~
148
+
149
+ src/FlowmapSelectors.ts:1130:72 - error TS1005: ',' expected.
150
+
151
+ 1130 const flowThicknessScale = this.getFlowThicknessScale(state, props);
152
+    ~
153
+
154
+ src/FlowmapSelectors.ts:1131:11 - error TS1005: ':' expected.
155
+
156
+ 1131 const locationLabelsEnabled = this.getLocationLabelsEnabled(state, props);
157
+    ~~~~~~~~~~~~~~~~~~~~~
158
+
159
+ src/FlowmapSelectors.ts:1131:78 - error TS1005: ',' expected.
160
+
161
+ 1131 const locationLabelsEnabled = this.getLocationLabelsEnabled(state, props);
162
+    ~
163
+
164
+ src/FlowmapSelectors.ts:1132:12 - error TS1005: ',' expected.
165
+
166
+ 1132 console.log('prepareLayersData', {locations, flows});
167
+    ~
168
+
169
+ src/FlowmapSelectors.ts:1132:57 - error TS1005: ',' expected.
170
+
171
+ 1132 console.log('prepareLayersData', {locations, flows});
172
+    ~
173
+
174
+ src/FlowmapSelectors.ts:1133:12 - error TS1005: ':' expected.
175
+
176
+ 1133 return this._prepareLayersData(
177
+    ~~~~
178
+
179
+ src/FlowmapSelectors.ts:1144:6 - error TS1005: ',' expected.
180
+
181
+ 1144 );
182
+    ~
183
+
184
+ src/FlowmapSelectors.ts:1147:3 - error TS1005: ',' expected.
185
+
186
+ 1147 _prepareLayersData(
187
+    ~~~~~~~~~~~~~~~~~~
188
+
189
+ src/FlowmapSelectors.ts:1148:14 - error TS1005: ',' expected.
190
+
191
+ 1148 locations: (L | ClusterNode)[] | undefined,
192
+    ~
193
+
194
+ src/FlowmapSelectors.ts:1148:34 - error TS1011: An element access expression should take an argument.
195
+
196
+ 1148 locations: (L | ClusterNode)[] | undefined,
197
+    
198
+
199
+ src/FlowmapSelectors.ts:1149:10 - error TS1005: ',' expected.
200
+
201
+ 1149 flows: (F | AggregateFlow)[] | undefined,
202
+    ~
203
+
204
+ src/FlowmapSelectors.ts:1149:32 - error TS1011: An element access expression should take an argument.
205
+
206
+ 1149 flows: (F | AggregateFlow)[] | undefined,
207
+    
208
+
209
+ src/FlowmapSelectors.ts:1150:18 - error TS1005: ',' expected.
210
+
211
+ 1150 flowmapColors: DiffColorsRGBA | ColorsRGBA,
212
+    ~
213
+
214
+ src/FlowmapSelectors.ts:1151:18 - error TS1005: ',' expected.
215
+
216
+ 1151 locationsById: Map<string | number, L | ClusterNode> | undefined,
217
+    ~
218
+
219
+ src/FlowmapSelectors.ts:1152:26 - error TS1005: ',' expected.
220
+
221
+ 1152 locationIdsInViewport: Set<string | number> | undefined,
222
+    ~
223
+
224
+ src/FlowmapSelectors.ts:1153:20 - error TS1005: ',' expected.
225
+
226
+ 1153 getInCircleSize: (locationId: string | number) => number,
227
+    ~
228
+
229
+ src/FlowmapSelectors.ts:1154:21 - error TS1005: ',' expected.
230
+
231
+ 1154 getOutCircleSize: (locationId: string | number) => number,
232
+    ~
233
+
234
+ src/FlowmapSelectors.ts:1155:23 - error TS1005: ',' expected.
235
+
236
+ 1155 flowThicknessScale: ScaleLinear<number, number, never> | undefined,
237
+    ~
238
+
239
+ src/FlowmapSelectors.ts:1156:21 - error TS1005: ',' expected.
240
+
241
+ 1156 animationEnabled: boolean,
242
+    ~
243
+
244
+ src/FlowmapSelectors.ts:1157:26 - error TS1005: ',' expected.
245
+
246
+ 1157 locationLabelsEnabled: boolean,
247
+    ~
248
+
249
+ src/FlowmapSelectors.ts:1158:4 - error TS1005: ',' expected.
250
+
251
+ 1158 ): LayersData {
252
+    ~
253
+
254
+ src/FlowmapSelectors.ts:1158:17 - error TS1005: ',' expected.
255
+
256
+ 1158 ): LayersData {
257
+    ~
258
+
259
+ src/FlowmapSelectors.ts:1159:9 - error TS1003: Identifier expected.
260
+
261
+ 1159 if (!locations) locations = [];
262
+    ~
263
+
264
+ src/FlowmapSelectors.ts:1159:21 - error TS1005: '{' expected.
265
+
266
+ 1159 if (!locations) locations = [];
267
+    ~~~~~~~~~
268
+
269
+ src/FlowmapSelectors.ts:1159:35 - error TS1005: ',' expected.
270
+
271
+ 1159 if (!locations) locations = [];
272
+    ~
273
+
274
+ src/FlowmapSelectors.ts:1160:9 - error TS1003: Identifier expected.
275
+
276
+ 1160 if (!flows) flows = [];
277
+    ~
278
+
279
+ src/FlowmapSelectors.ts:1160:17 - error TS1005: '{' expected.
280
+
281
+ 1160 if (!flows) flows = [];
282
+    ~~~~~
283
+
284
+ src/FlowmapSelectors.ts:1160:27 - error TS1005: ',' expected.
285
+
286
+ 1160 if (!flows) flows = [];
287
+    ~
288
+
289
+ src/FlowmapSelectors.ts:1161:11 - error TS1005: ':' expected.
290
+
291
+ 1161 const {
292
+    ~
293
+
294
+ src/FlowmapSelectors.ts:1169:23 - error TS1005: ',' expected.
295
+
296
+ 1169 } = this.accessors;
297
+    ~
298
+
299
+ src/FlowmapSelectors.ts:1171:11 - error TS1005: ':' expected.
300
+
301
+ 1171 const flowMagnitudeExtent = extent(flows, (f) => getFlowMagnitude(f)) as [
302
+    ~~~~~~~~~~~~~~~~~~~
303
+
304
+ src/FlowmapSelectors.ts:1174:6 - error TS1005: ',' expected.
305
+
306
+ 1174 ];
307
+    ~
308
+
309
+ src/FlowmapSelectors.ts:1175:11 - error TS1005: ':' expected.
310
+
311
+ 1175 const flowColorScale = getFlowColorScale(
312
+    ~~~~~~~~~~~~~~
313
+
314
+ src/FlowmapSelectors.ts:1179:6 - error TS1005: ',' expected.
315
+
316
+ 1179 );
317
+    ~
318
+
319
+ src/FlowmapSelectors.ts:1182:11 - error TS1005: ':' expected.
320
+
321
+ 1182 const circlePositions = Float32Array.from(
322
+    ~~~~~~~~~~~~~~~
323
+
324
+ src/FlowmapSelectors.ts:1189:6 - error TS1005: ',' expected.
325
+
326
+ 1189 );
327
+    ~
328
+
329
+ src/FlowmapSelectors.ts:1192:11 - error TS1005: ':' expected.
330
+
331
+ 1192 const circleColor = isDiffColorsRGBA(flowmapColors)
332
+    ~~~~~~~~~~~
333
+
334
+ src/FlowmapSelectors.ts:1194:44 - error TS1005: ',' expected.
335
+
336
+ 1194 : flowmapColors.locationCircles.inner;
337
+    ~
338
+
339
+ src/FlowmapSelectors.ts:1196:11 - error TS1005: ':' expected.
340
+
341
+ 1196 const circleColors = Uint8Array.from(
342
+    ~~~~~~~~~~~~
343
+
344
+ src/FlowmapSelectors.ts:1202:6 - error TS1005: ',' expected.
345
+
346
+ 1202 );
347
+    ~
348
+
349
+ src/FlowmapSelectors.ts:1204:11 - error TS1005: ':' expected.
350
+
351
+ 1204 const inCircleRadii = Float32Array.from(
352
+    ~~~~~~~~~~~~~
353
+
354
+ src/FlowmapSelectors.ts:1211:6 - error TS1005: ',' expected.
355
+
356
+ 1211 );
357
+    ~
358
+
359
+ src/FlowmapSelectors.ts:1212:11 - error TS1005: ':' expected.
360
+
361
+ 1212 const outCircleRadii = Float32Array.from(
362
+    ~~~~~~~~~~~~~~
363
+
364
+ src/FlowmapSelectors.ts:1219:6 - error TS1005: ',' expected.
365
+
366
+ 1219 );
367
+    ~
368
+
369
+ src/FlowmapSelectors.ts:1221:11 - error TS1005: ':' expected.
370
+
371
+ 1221 const sourcePositions = Float32Array.from(
372
+    ~~~~~~~~~~~~~~~
373
+
374
+ src/FlowmapSelectors.ts:1229:6 - error TS1005: ',' expected.
375
+
376
+ 1229 );
377
+    ~
378
+
379
+ src/FlowmapSelectors.ts:1230:11 - error TS1005: ':' expected.
380
+
381
+ 1230 const targetPositions = Float32Array.from(
382
+    ~~~~~~~~~~~~~~~
383
+
384
+ src/FlowmapSelectors.ts:1238:6 - error TS1005: ',' expected.
385
+
386
+ 1238 );
387
+    ~
388
+
389
+ src/FlowmapSelectors.ts:1239:11 - error TS1005: ':' expected.
390
+
391
+ 1239 const thicknesses = Float32Array.from(
392
+    ~~~~~~~~~~~
393
+
394
+ src/FlowmapSelectors.ts:1247:6 - error TS1005: ',' expected.
395
+
396
+ 1247 );
397
+    ~
398
+
399
+ src/FlowmapSelectors.ts:1248:11 - error TS1005: ':' expected.
400
+
401
+ 1248 const endpointOffsets = Float32Array.from(
402
+    ~~~~~~~~~~~~~~~
403
+
404
+ src/FlowmapSelectors.ts:1257:6 - error TS1005: ',' expected.
405
+
406
+ 1257 );
407
+    ~
408
+
409
+ src/FlowmapSelectors.ts:1258:11 - error TS1005: ':' expected.
410
+
411
+ 1258 const flowLineColors = Uint8Array.from(
412
+    ~~~~~~~~~~~~~~
413
+
414
+ src/FlowmapSelectors.ts:1264:6 - error TS1005: ',' expected.
415
+
416
+ 1264 );
417
+    ~
418
+
419
+ src/FlowmapSelectors.ts:1266:11 - error TS1005: ':' expected.
420
+
421
+ 1266 const staggeringValues = animationEnabled
422
+    ~~~~~~~~~~~~~~~~
423
+
424
+ src/FlowmapSelectors.ts:1275:18 - error TS1005: ',' expected.
425
+
426
+ 1275 : undefined;
427
+    ~
428
+
429
+ src/FlowmapSelectors.ts:1277:12 - error TS1005: ':' expected.
430
+
431
+ 1277 return {
432
+    ~
433
+
434
+ src/FlowmapSelectors.ts:1303:6 - error TS1005: ',' expected.
435
+
436
+ 1303 };
437
+    ~
438
+
439
+ src/FlowmapSelectors.ts:1306:3 - error TS1005: ',' expected.
440
+
441
+ 1306 getLocationsInBbox(
442
+    ~~~~~~~~~~~~~~~~~~
443
+
444
+ src/FlowmapSelectors.ts:1307:9 - error TS1005: ',' expected.
445
+
446
+ 1307 tree: KDBushTree,
447
+    ~
448
+
449
+ src/FlowmapSelectors.ts:1308:9 - error TS1005: ',' expected.
450
+
451
+ 1308 bbox: [number, number, number, number],
452
+    ~
453
+
454
+ src/FlowmapSelectors.ts:1309:4 - error TS1005: ',' expected.
455
+
456
+ 1309 ): Array<L> | undefined {
457
+    ~
458
+
459
+ src/FlowmapSelectors.ts:1309:27 - error TS1005: ',' expected.
460
+
461
+ 1309 ): Array<L> | undefined {
462
+    ~
463
+
464
+ src/FlowmapSelectors.ts:1310:9 - error TS1003: Identifier expected.
465
+
466
+ 1310 if (!tree) return undefined;
467
+    ~
468
+
469
+ src/FlowmapSelectors.ts:1310:16 - error TS1005: '{' expected.
470
+
471
+ 1310 if (!tree) return undefined;
472
+    ~~~~~~
473
+
474
+ src/FlowmapSelectors.ts:1310:23 - error TS1005: ':' expected.
475
+
476
+ 1310 if (!tree) return undefined;
477
+    ~~~~~~~~~
478
+
479
+ src/FlowmapSelectors.ts:1310:32 - error TS1005: ',' expected.
480
+
481
+ 1310 if (!tree) return undefined;
482
+    ~
483
+
484
+ src/FlowmapSelectors.ts:1311:12 - error TS1005: ':' expected.
485
+
486
+ 1311 return this._getLocationsInBboxIndices(tree, bbox).map(
487
+    ~~~~
488
+
489
+ src/FlowmapSelectors.ts:1313:18 - error TS1005: ',' expected.
490
+
491
+ 1313 ) as Array<L>;
492
+    ~
493
+
494
+ src/FlowmapSelectors.ts:1316:3 - error TS1005: ',' expected.
495
+
496
+ 1316 _getLocationsInBboxIndices(
497
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~
498
+
499
+ src/FlowmapSelectors.ts:1317:9 - error TS1005: ',' expected.
500
+
501
+ 1317 tree: KDBushTree,
502
+    ~
503
+
504
+ src/FlowmapSelectors.ts:1318:9 - error TS1005: ',' expected.
505
+
506
+ 1318 bbox: [number, number, number, number],
507
+    ~
508
+
509
+ src/FlowmapSelectors.ts:1319:5 - error TS1005: ',' expected.
510
+
511
+ 1319 ) {
512
+    ~
513
+
514
+ src/FlowmapSelectors.ts:1320:9 - error TS1003: Identifier expected.
515
+
516
+ 1320 if (!tree) return undefined;
517
+    ~
518
+
519
+ src/FlowmapSelectors.ts:1320:16 - error TS1005: '{' expected.
520
+
521
+ 1320 if (!tree) return undefined;
522
+    ~~~~~~
523
+
524
+ src/FlowmapSelectors.ts:1320:23 - error TS1005: ':' expected.
525
+
526
+ 1320 if (!tree) return undefined;
527
+    ~~~~~~~~~
528
+
529
+ src/FlowmapSelectors.ts:1320:32 - error TS1005: ',' expected.
530
+
531
+ 1320 if (!tree) return undefined;
532
+    ~
533
+
534
+ src/FlowmapSelectors.ts:1321:11 - error TS1005: ':' expected.
535
+
536
+ 1321 const [lon1, lat1, lon2, lat2] = bbox;
537
+    ~
538
+
539
+ src/FlowmapSelectors.ts:1321:42 - error TS1005: ',' expected.
540
+
541
+ 1321 const [lon1, lat1, lon2, lat2] = bbox;
542
+    ~
543
+
544
+ src/FlowmapSelectors.ts:1322:11 - error TS1005: ':' expected.
545
+
546
+ 1322 const [x1, y1, x2, y2] = [lngX(lon1), latY(lat1), lngX(lon2), latY(lat2)];
547
+    ~
548
+
549
+ src/FlowmapSelectors.ts:1322:78 - error TS1005: ',' expected.
550
+
551
+ 1322 const [x1, y1, x2, y2] = [lngX(lon1), latY(lat1), lngX(lon2), latY(lat2)];
552
+    ~
553
+
554
+ src/FlowmapSelectors.ts:1323:11 - error TS1005: ':' expected.
555
+
556
+ 1323 const pointsInBbox = tree.range(
557
+    ~~~~~~~~~~~~
558
+
559
+ src/FlowmapSelectors.ts:1328:6 - error TS1005: ',' expected.
560
+
561
+ 1328 );
562
+    ~
563
+
564
+ src/FlowmapSelectors.ts:1329:12 - error TS1005: ',' expected.
565
+
566
+ 1329 console.log({bbox: [x1, y1, x2, y2], tree, pointsInBbox});
567
+    ~
568
+
569
+ src/FlowmapSelectors.ts:1329:62 - error TS1005: ',' expected.
570
+
571
+ 1329 console.log({bbox: [x1, y1, x2, y2], tree, pointsInBbox});
572
+    ~
573
+
574
+ src/FlowmapSelectors.ts:1330:12 - error TS1005: ':' expected.
575
+
576
+ 1330 return pointsInBbox;
577
+    ~~~~~~~~~~~~
578
+
579
+ src/FlowmapSelectors.ts:1330:24 - error TS1005: ',' expected.
580
+
581
+ 1330 return pointsInBbox;
582
+    ~
583
+
584
+ src/FlowmapSelectors.ts:1333:3 - error TS1005: ',' expected.
585
+
586
+ 1333 isFlowInSelection(
587
+    ~~~~~~~~~~~~~~~~~
588
+
589
+ src/FlowmapSelectors.ts:1334:9 - error TS1005: ',' expected.
590
+
591
+ 1334 flow: F | AggregateFlow,
592
+    ~
593
+
594
+ src/FlowmapSelectors.ts:1335:25 - error TS1005: ',' expected.
595
+
596
+ 1335 selectedLocationsSet: Set<string | number> | undefined,
597
+    ~
598
+
599
+ src/FlowmapSelectors.ts:1336:24 - error TS1109: Expression expected.
600
+
601
+ 1336 locationFilterMode?: LocationFilterMode,
602
+    ~
603
+
604
+ src/FlowmapSelectors.ts:1337:5 - error TS1005: ',' expected.
605
+
606
+ 1337 ) {
607
+    ~
608
+
609
+ src/FlowmapSelectors.ts:1338:11 - error TS1005: ':' expected.
610
+
611
+ 1338 const origin = this.accessors.getFlowOriginId(flow);
612
+    ~~~~~~
613
+
614
+ src/FlowmapSelectors.ts:1338:56 - error TS1005: ',' expected.
615
+
616
+ 1338 const origin = this.accessors.getFlowOriginId(flow);
617
+    ~
618
+
619
+ src/FlowmapSelectors.ts:1339:11 - error TS1005: ':' expected.
620
+
621
+ 1339 const dest = this.accessors.getFlowDestId(flow);
622
+    ~~~~
623
+
624
+ src/FlowmapSelectors.ts:1339:52 - error TS1005: ',' expected.
625
+
626
+ 1339 const dest = this.accessors.getFlowDestId(flow);
627
+    ~
628
+
629
+ src/FlowmapSelectors.ts:1356:5 - error TS1005: ',' expected.
630
+
631
+ 1356 return true;
632
+    ~~~~~~
633
+
634
+ src/FlowmapSelectors.ts:1356:12 - error TS1005: ':' expected.
635
+
636
+ 1356 return true;
637
+    ~~~~
638
+
639
+ src/FlowmapSelectors.ts:1356:16 - error TS1005: ',' expected.
640
+
641
+ 1356 return true;
642
+    ~
643
+
644
+ src/FlowmapSelectors.ts:1379:1 - error TS1005: ',' expected.
645
+
646
+ 1379 }
647
+   ~
648
+
649
+ [2:35:09 PM] Found 119 errors. Watching for file changes.
650
+
651
+ c[2:35:14 PM] File change detected. Starting incremental compilation...
652
+
653
+ [2:35:15 PM] Found 0 errors. Watching for file changes.
654
+
655
+ c[2:35:47 PM] File change detected. Starting incremental compilation...
656
+
657
+ [2:35:48 PM] Found 0 errors. Watching for file changes.
658
+
659
+ c[2:36:37 PM] File change detected. Starting incremental compilation...
660
+
661
+ [2:36:38 PM] Found 0 errors. Watching for file changes.
662
+
663
+ c[2:42:08 PM] File change detected. Starting incremental compilation...
664
+
665
+ [2:42:09 PM] Found 0 errors. Watching for file changes.
666
+
667
+ c[3:47:56 PM] File change detected. Starting incremental compilation...
668
+
669
+ [3:47:57 PM] Found 0 errors. Watching for file changes.
670
+
package/LICENSE CHANGED
@@ -183,8 +183,8 @@
183
183
 
184
184
 
185
185
 
186
- Copyright 2022 FlowmapBlue
187
- Copyright 2018-2020 Teralytics
186
+ Copyright (c) Flowmap.gl contributors
187
+ Copyright (c) 2018-2020 Teralytics
188
188
 
189
189
  Licensed under the Apache License, Version 2.0 (the "License");
190
190
  you may not use this file except in compliance with the License.