@mcp-b/geo-leaflet 0.2.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.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/dist/circle-CqXHsyYH.js +84 -0
  3. package/dist/components/choropleth/choropleth.d.ts +68 -0
  4. package/dist/components/choropleth/choropleth.js +195 -0
  5. package/dist/components/circle/circle.d.ts +43 -0
  6. package/dist/components/circle/circle.js +2 -0
  7. package/dist/components/control/control.d.ts +43 -0
  8. package/dist/components/control/control.js +2 -0
  9. package/dist/components/find-leaflet-map.d.ts +11 -0
  10. package/dist/components/find-leaflet-map.js +17 -0
  11. package/dist/components/geojson/geojson.d.ts +80 -0
  12. package/dist/components/geojson/geojson.js +2 -0
  13. package/dist/components/map/map.d.ts +44 -0
  14. package/dist/components/map/map.js +2 -0
  15. package/dist/components/marker/marker.d.ts +53 -0
  16. package/dist/components/marker/marker.js +2 -0
  17. package/dist/components/polygon/polygon.d.ts +39 -0
  18. package/dist/components/polygon/polygon.js +2 -0
  19. package/dist/components/polyline/polyline.d.ts +39 -0
  20. package/dist/components/polyline/polyline.js +2 -0
  21. package/dist/components/popup/popup.d.ts +30 -0
  22. package/dist/components/popup/popup.js +2 -0
  23. package/dist/components/scale-control/scale-control.d.ts +37 -0
  24. package/dist/components/scale-control/scale-control.js +2 -0
  25. package/dist/components/tilelayer/tilelayer.d.ts +43 -0
  26. package/dist/components/tilelayer/tilelayer.js +2 -0
  27. package/dist/control-ysNMOWeF.js +67 -0
  28. package/dist/decorate-DcF3lt7P.js +9 -0
  29. package/dist/default-icon-BVVgDSdq.d.ts +1 -0
  30. package/dist/default-icon.d.ts +1 -0
  31. package/dist/default-icon.js +12 -0
  32. package/dist/docs/custom-elements.json +2051 -0
  33. package/dist/geojson-DPaCrjMF.js +189 -0
  34. package/dist/index.d.ts +12 -0
  35. package/dist/index.js +12 -0
  36. package/dist/map-DRJUOrtM.js +204 -0
  37. package/dist/marker-D4gW4fyF.js +115 -0
  38. package/dist/polygon-DbFiHm4R.js +78 -0
  39. package/dist/polyline-SAcEwHDC.js +72 -0
  40. package/dist/popup-BDNUUZWQ.js +35 -0
  41. package/dist/scale-control-BR_iH4gM.js +63 -0
  42. package/dist/tilelayer-DI2cPv01.js +82 -0
  43. package/package.json +75 -0
@@ -0,0 +1,2051 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/components/choropleth/choropleth.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "A classified GeoJSON polygon layer with a coordinated Leaflet legend.\nPlace it inside a `<sigvelo-leaflet-map>`.",
12
+ "name": "SigveloLeafletChoropleth",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "colorScheme",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "default": "\"Blues\"",
21
+ "description": "Reviewed ColorBrewer scheme name.",
22
+ "attribute": "color-scheme"
23
+ },
24
+ {
25
+ "kind": "field",
26
+ "name": "data",
27
+ "type": {
28
+ "text": "GeoJsonFeatureCollection"
29
+ },
30
+ "default": "{ type: \"FeatureCollection\", features: [] }",
31
+ "description": "Trusted GeoJSON supplied by the host application."
32
+ },
33
+ {
34
+ "kind": "field",
35
+ "name": "dataKey",
36
+ "type": {
37
+ "text": "string"
38
+ },
39
+ "default": "\"name\"",
40
+ "description": "Row property used to match a feature.",
41
+ "attribute": "data-key"
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "dataReady",
46
+ "type": {
47
+ "text": "Promise<void>"
48
+ },
49
+ "privacy": "public",
50
+ "description": "Resolves after the current remote GeoJSON request settles.",
51
+ "readonly": true
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "featureKey",
56
+ "type": {
57
+ "text": "string"
58
+ },
59
+ "default": "\"name\"",
60
+ "description": "Feature property used to match a row.",
61
+ "attribute": "feature-key"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "fitBounds",
66
+ "type": {
67
+ "text": "boolean"
68
+ },
69
+ "default": "true",
70
+ "description": "Fit the parent map to the loaded polygons.",
71
+ "attribute": "fit-bounds"
72
+ },
73
+ {
74
+ "kind": "field",
75
+ "name": "interactive",
76
+ "type": {
77
+ "text": "boolean"
78
+ },
79
+ "default": "true",
80
+ "description": "Whether polygon features emit click events.",
81
+ "attribute": "interactive"
82
+ },
83
+ {
84
+ "kind": "field",
85
+ "name": "legendPosition",
86
+ "type": {
87
+ "text": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\""
88
+ },
89
+ "default": "\"top-right\"",
90
+ "description": "Leaflet control position for the legend.",
91
+ "attribute": "legend-position"
92
+ },
93
+ {
94
+ "kind": "field",
95
+ "name": "legendTitle",
96
+ "type": {
97
+ "text": "string"
98
+ },
99
+ "default": "\"\"",
100
+ "description": "Legend heading.",
101
+ "attribute": "legend-title"
102
+ },
103
+ {
104
+ "kind": "field",
105
+ "name": "loadError",
106
+ "type": {
107
+ "text": "string"
108
+ },
109
+ "privacy": "public",
110
+ "description": "Bounded loading error for host diagnostics.",
111
+ "readonly": true
112
+ },
113
+ {
114
+ "kind": "field",
115
+ "name": "loading",
116
+ "type": {
117
+ "text": "boolean"
118
+ },
119
+ "privacy": "public",
120
+ "description": "Whether a remote GeoJSON request is active.",
121
+ "readonly": true
122
+ },
123
+ {
124
+ "kind": "method",
125
+ "name": "loadSource",
126
+ "privacy": "private",
127
+ "return": {
128
+ "type": {
129
+ "text": "void"
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "kind": "field",
135
+ "name": "method",
136
+ "type": {
137
+ "text": "ClassificationMethod"
138
+ },
139
+ "default": "\"naturalBreaks\"",
140
+ "description": "Classification algorithm.",
141
+ "attribute": "method"
142
+ },
143
+ {
144
+ "kind": "field",
145
+ "name": "numClasses",
146
+ "type": {
147
+ "text": "number"
148
+ },
149
+ "default": "5",
150
+ "description": "Number of color classes.",
151
+ "attribute": "num-classes"
152
+ },
153
+ {
154
+ "kind": "field",
155
+ "name": "popupTitleProperty",
156
+ "type": {
157
+ "text": "string"
158
+ },
159
+ "default": "\"name\"",
160
+ "description": "Feature property displayed as the region popup heading.",
161
+ "attribute": "popup-title-property"
162
+ },
163
+ {
164
+ "kind": "field",
165
+ "name": "popupValueLabel",
166
+ "type": {
167
+ "text": "string"
168
+ },
169
+ "default": "\"\"",
170
+ "description": "Label displayed before the classified value in region popups.",
171
+ "attribute": "popup-value-label"
172
+ },
173
+ {
174
+ "kind": "field",
175
+ "name": "property",
176
+ "type": {
177
+ "text": "string"
178
+ },
179
+ "default": "\"density\"",
180
+ "description": "Numeric feature property used to classify regions.",
181
+ "attribute": "property"
182
+ },
183
+ {
184
+ "kind": "field",
185
+ "name": "rows",
186
+ "type": {
187
+ "text": "readonly ChoroplethRow[] | undefined"
188
+ },
189
+ "description": "Optional bounded rows joined onto feature properties before classification."
190
+ },
191
+ {
192
+ "kind": "field",
193
+ "name": "sourceController",
194
+ "type": {
195
+ "text": "AbortController | undefined"
196
+ },
197
+ "privacy": "private"
198
+ },
199
+ {
200
+ "kind": "field",
201
+ "name": "sourceData",
202
+ "type": {
203
+ "text": "GeoJsonFeatureCollection | null"
204
+ },
205
+ "privacy": "private",
206
+ "default": "null"
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "sourceError",
211
+ "type": {
212
+ "text": "string"
213
+ },
214
+ "privacy": "private",
215
+ "default": "\"\""
216
+ },
217
+ {
218
+ "kind": "field",
219
+ "name": "sourceLoading",
220
+ "type": {
221
+ "text": "boolean"
222
+ },
223
+ "privacy": "private",
224
+ "default": "false"
225
+ },
226
+ {
227
+ "kind": "field",
228
+ "name": "sourceReady",
229
+ "type": {
230
+ "text": "Promise<void>"
231
+ },
232
+ "privacy": "private"
233
+ },
234
+ {
235
+ "kind": "field",
236
+ "name": "sourceRequest",
237
+ "type": {
238
+ "text": "number"
239
+ },
240
+ "privacy": "private",
241
+ "default": "0"
242
+ },
243
+ {
244
+ "kind": "field",
245
+ "name": "src",
246
+ "type": {
247
+ "text": "string"
248
+ },
249
+ "default": "\"\"",
250
+ "description": "Optional GeoJSON URL loaded only when this component is rendered.",
251
+ "attribute": "src"
252
+ }
253
+ ],
254
+ "attributes": [
255
+ {
256
+ "name": "color-scheme",
257
+ "type": {
258
+ "text": "string"
259
+ },
260
+ "default": "\"Blues\"",
261
+ "description": "Reviewed ColorBrewer scheme name.",
262
+ "fieldName": "colorScheme"
263
+ },
264
+ {
265
+ "name": "data-key",
266
+ "type": {
267
+ "text": "string"
268
+ },
269
+ "default": "\"name\"",
270
+ "description": "Row property used to match a feature.",
271
+ "fieldName": "dataKey"
272
+ },
273
+ {
274
+ "name": "feature-key",
275
+ "type": {
276
+ "text": "string"
277
+ },
278
+ "default": "\"name\"",
279
+ "description": "Feature property used to match a row.",
280
+ "fieldName": "featureKey"
281
+ },
282
+ {
283
+ "name": "fit-bounds",
284
+ "type": {
285
+ "text": "boolean"
286
+ },
287
+ "default": "true",
288
+ "description": "Fit the parent map to the loaded polygons.",
289
+ "fieldName": "fitBounds"
290
+ },
291
+ {
292
+ "name": "interactive",
293
+ "type": {
294
+ "text": "boolean"
295
+ },
296
+ "default": "true",
297
+ "description": "Whether polygon features emit click events.",
298
+ "fieldName": "interactive"
299
+ },
300
+ {
301
+ "name": "legend-position",
302
+ "type": {
303
+ "text": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\""
304
+ },
305
+ "default": "\"top-right\"",
306
+ "description": "Leaflet control position for the legend.",
307
+ "fieldName": "legendPosition"
308
+ },
309
+ {
310
+ "name": "legend-title",
311
+ "type": {
312
+ "text": "string"
313
+ },
314
+ "default": "\"\"",
315
+ "description": "Legend heading.",
316
+ "fieldName": "legendTitle"
317
+ },
318
+ {
319
+ "name": "method",
320
+ "type": {
321
+ "text": "ClassificationMethod"
322
+ },
323
+ "default": "\"naturalBreaks\"",
324
+ "description": "Classification algorithm.",
325
+ "fieldName": "method"
326
+ },
327
+ {
328
+ "name": "num-classes",
329
+ "type": {
330
+ "text": "number"
331
+ },
332
+ "default": "5",
333
+ "description": "Number of color classes.",
334
+ "fieldName": "numClasses"
335
+ },
336
+ {
337
+ "name": "popup-title-property",
338
+ "type": {
339
+ "text": "string"
340
+ },
341
+ "default": "\"name\"",
342
+ "description": "Feature property displayed as the region popup heading.",
343
+ "fieldName": "popupTitleProperty"
344
+ },
345
+ {
346
+ "name": "popup-value-label",
347
+ "type": {
348
+ "text": "string"
349
+ },
350
+ "default": "\"\"",
351
+ "description": "Label displayed before the classified value in region popups.",
352
+ "fieldName": "popupValueLabel"
353
+ },
354
+ {
355
+ "name": "property",
356
+ "type": {
357
+ "text": "string"
358
+ },
359
+ "default": "\"density\"",
360
+ "description": "Numeric feature property used to classify regions.",
361
+ "fieldName": "property"
362
+ },
363
+ {
364
+ "name": "src",
365
+ "type": {
366
+ "text": "string"
367
+ },
368
+ "default": "\"\"",
369
+ "description": "Optional GeoJSON URL loaded only when this component is rendered.",
370
+ "fieldName": "src"
371
+ }
372
+ ],
373
+ "superclass": {
374
+ "name": "SigveloElement",
375
+ "package": "@mcp-b/wc-support/base/sigvelo-element"
376
+ },
377
+ "tagName": "sigvelo-leaflet-choropleth",
378
+ "customElement": true,
379
+ "modulePath": "src/components/choropleth/choropleth.ts",
380
+ "definitionPath": "src/components/choropleth/choropleth.ts"
381
+ }
382
+ ],
383
+ "exports": [
384
+ {
385
+ "kind": "custom-element-definition",
386
+ "name": "sigvelo-leaflet-choropleth",
387
+ "declaration": {
388
+ "name": "SigveloLeafletChoropleth",
389
+ "module": "src/components/choropleth/choropleth.ts"
390
+ }
391
+ },
392
+ {
393
+ "kind": "js",
394
+ "name": "SigveloLeafletChoropleth",
395
+ "declaration": {
396
+ "name": "SigveloLeafletChoropleth",
397
+ "module": "src/components/choropleth/choropleth.ts"
398
+ }
399
+ }
400
+ ]
401
+ },
402
+ {
403
+ "kind": "javascript-module",
404
+ "path": "src/components/circle/circle.ts",
405
+ "declarations": [
406
+ {
407
+ "kind": "class",
408
+ "description": "A circle overlay on a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
409
+ "name": "SigveloLeafletCircle",
410
+ "members": [
411
+ {
412
+ "kind": "field",
413
+ "name": "fillColor",
414
+ "type": {
415
+ "text": "string"
416
+ },
417
+ "default": "\"#3388ff\"",
418
+ "description": "Fill color (CSS color string).",
419
+ "attribute": "fill-color"
420
+ },
421
+ {
422
+ "kind": "field",
423
+ "name": "fillOpacity",
424
+ "type": {
425
+ "text": "number"
426
+ },
427
+ "default": "0.2",
428
+ "description": "Fill opacity (0-1).",
429
+ "attribute": "fill-opacity"
430
+ },
431
+ {
432
+ "kind": "field",
433
+ "name": "latitude",
434
+ "type": {
435
+ "text": "number"
436
+ },
437
+ "default": "0",
438
+ "description": "Center latitude.",
439
+ "attribute": "latitude"
440
+ },
441
+ {
442
+ "kind": "field",
443
+ "name": "longitude",
444
+ "type": {
445
+ "text": "number"
446
+ },
447
+ "default": "0",
448
+ "description": "Center longitude.",
449
+ "attribute": "longitude"
450
+ },
451
+ {
452
+ "kind": "field",
453
+ "name": "radius",
454
+ "type": {
455
+ "text": "number"
456
+ },
457
+ "default": "100",
458
+ "description": "Radius in meters.",
459
+ "attribute": "radius"
460
+ },
461
+ {
462
+ "kind": "field",
463
+ "name": "strokeColor",
464
+ "type": {
465
+ "text": "string"
466
+ },
467
+ "default": "\"#3388ff\"",
468
+ "description": "Stroke color (CSS color string).",
469
+ "attribute": "stroke-color"
470
+ },
471
+ {
472
+ "kind": "field",
473
+ "name": "strokeWidth",
474
+ "type": {
475
+ "text": "number"
476
+ },
477
+ "default": "3",
478
+ "description": "Stroke width in pixels.",
479
+ "attribute": "stroke-width"
480
+ }
481
+ ],
482
+ "attributes": [
483
+ {
484
+ "name": "fill-color",
485
+ "type": {
486
+ "text": "string"
487
+ },
488
+ "default": "\"#3388ff\"",
489
+ "description": "Fill color (CSS color string).",
490
+ "fieldName": "fillColor"
491
+ },
492
+ {
493
+ "name": "fill-opacity",
494
+ "type": {
495
+ "text": "number"
496
+ },
497
+ "default": "0.2",
498
+ "description": "Fill opacity (0-1).",
499
+ "fieldName": "fillOpacity"
500
+ },
501
+ {
502
+ "name": "latitude",
503
+ "type": {
504
+ "text": "number"
505
+ },
506
+ "default": "0",
507
+ "description": "Center latitude.",
508
+ "fieldName": "latitude"
509
+ },
510
+ {
511
+ "name": "longitude",
512
+ "type": {
513
+ "text": "number"
514
+ },
515
+ "default": "0",
516
+ "description": "Center longitude.",
517
+ "fieldName": "longitude"
518
+ },
519
+ {
520
+ "name": "radius",
521
+ "type": {
522
+ "text": "number"
523
+ },
524
+ "default": "100",
525
+ "description": "Radius in meters.",
526
+ "fieldName": "radius"
527
+ },
528
+ {
529
+ "name": "stroke-color",
530
+ "type": {
531
+ "text": "string"
532
+ },
533
+ "default": "\"#3388ff\"",
534
+ "description": "Stroke color (CSS color string).",
535
+ "fieldName": "strokeColor"
536
+ },
537
+ {
538
+ "name": "stroke-width",
539
+ "type": {
540
+ "text": "number"
541
+ },
542
+ "default": "3",
543
+ "description": "Stroke width in pixels.",
544
+ "fieldName": "strokeWidth"
545
+ }
546
+ ],
547
+ "superclass": {
548
+ "name": "LitElement",
549
+ "package": "lit"
550
+ },
551
+ "tagName": "sigvelo-leaflet-circle",
552
+ "customElement": true,
553
+ "modulePath": "src/components/circle/circle.ts",
554
+ "definitionPath": "src/components/circle/circle.ts"
555
+ }
556
+ ],
557
+ "exports": [
558
+ {
559
+ "kind": "custom-element-definition",
560
+ "name": "sigvelo-leaflet-circle",
561
+ "declaration": {
562
+ "name": "SigveloLeafletCircle",
563
+ "module": "src/components/circle/circle.ts"
564
+ }
565
+ },
566
+ {
567
+ "kind": "js",
568
+ "name": "SigveloLeafletCircle",
569
+ "declaration": {
570
+ "name": "SigveloLeafletCircle",
571
+ "module": "src/components/circle/circle.ts"
572
+ }
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "kind": "javascript-module",
578
+ "path": "src/components/control/control.ts",
579
+ "declarations": [
580
+ {
581
+ "kind": "class",
582
+ "description": "A generic control container for a Leaflet map. Wraps arbitrary content\nand places it in one of Leaflet's four control corners, stacking properly\nwith zoom, attribution, and other controls.",
583
+ "name": "SigveloLeafletControl",
584
+ "members": [
585
+ {
586
+ "kind": "field",
587
+ "name": "position",
588
+ "type": {
589
+ "text": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\""
590
+ },
591
+ "default": "\"bottom-left\"",
592
+ "description": "Position of the control on the map.",
593
+ "attribute": "position"
594
+ }
595
+ ],
596
+ "attributes": [
597
+ {
598
+ "name": "position",
599
+ "type": {
600
+ "text": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\""
601
+ },
602
+ "default": "\"bottom-left\"",
603
+ "description": "Position of the control on the map.",
604
+ "fieldName": "position"
605
+ }
606
+ ],
607
+ "superclass": {
608
+ "name": "LitElement",
609
+ "package": "lit"
610
+ },
611
+ "tagName": "sigvelo-leaflet-control",
612
+ "customElement": true,
613
+ "modulePath": "src/components/control/control.ts",
614
+ "definitionPath": "src/components/control/control.ts"
615
+ }
616
+ ],
617
+ "exports": [
618
+ {
619
+ "kind": "custom-element-definition",
620
+ "name": "sigvelo-leaflet-control",
621
+ "declaration": {
622
+ "name": "SigveloLeafletControl",
623
+ "module": "src/components/control/control.ts"
624
+ }
625
+ },
626
+ {
627
+ "kind": "js",
628
+ "name": "SigveloLeafletControl",
629
+ "declaration": {
630
+ "name": "SigveloLeafletControl",
631
+ "module": "src/components/control/control.ts"
632
+ }
633
+ }
634
+ ]
635
+ },
636
+ {
637
+ "kind": "javascript-module",
638
+ "path": "src/components/find-leaflet-map.ts",
639
+ "declarations": [
640
+ {
641
+ "kind": "function",
642
+ "name": "findLeafletMap",
643
+ "return": {
644
+ "type": {
645
+ "text": "SigveloLeafletMap | null"
646
+ }
647
+ },
648
+ "parameters": [
649
+ {
650
+ "name": "element",
651
+ "type": {
652
+ "text": "HTMLElement"
653
+ }
654
+ }
655
+ ],
656
+ "description": "Finds the containing map even when a map child is rendered by a nested web\ncomponent. `Element.closest()` does not cross a shadow-root boundary, while\nhost applications may compose the reusable Leaflet elements that way."
657
+ }
658
+ ],
659
+ "exports": [
660
+ {
661
+ "kind": "js",
662
+ "name": "findLeafletMap",
663
+ "declaration": {
664
+ "name": "findLeafletMap",
665
+ "module": "src/components/find-leaflet-map.ts"
666
+ }
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "kind": "javascript-module",
672
+ "path": "src/components/geojson/geojson.ts",
673
+ "declarations": [
674
+ {
675
+ "kind": "class",
676
+ "description": "Renders GeoJSON data on a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
677
+ "name": "SigveloLeafletGeojson",
678
+ "members": [
679
+ {
680
+ "kind": "field",
681
+ "name": "channel",
682
+ "type": {
683
+ "text": "string"
684
+ },
685
+ "default": "\"\"",
686
+ "description": "Channel name for auto-syncing with a classify panel.\nWhen set, styleFunction updates automatically from the panel.",
687
+ "attribute": "channel"
688
+ },
689
+ {
690
+ "kind": "field",
691
+ "name": "data",
692
+ "type": {
693
+ "text": "GeoJsonData | null"
694
+ },
695
+ "default": "null",
696
+ "description": "GeoJSON data (Feature or FeatureCollection). Set via property, not attribute."
697
+ },
698
+ {
699
+ "kind": "field",
700
+ "name": "fillColor",
701
+ "type": {
702
+ "text": "string"
703
+ },
704
+ "default": "\"#3388ff\"",
705
+ "description": "Fill color for polygons / circles.",
706
+ "attribute": "fill-color"
707
+ },
708
+ {
709
+ "kind": "field",
710
+ "name": "fillOpacity",
711
+ "type": {
712
+ "text": "number"
713
+ },
714
+ "default": "0.2",
715
+ "description": "Fill opacity (0-1).",
716
+ "attribute": "fill-opacity"
717
+ },
718
+ {
719
+ "kind": "field",
720
+ "name": "fitBounds",
721
+ "type": {
722
+ "text": "boolean"
723
+ },
724
+ "default": "false",
725
+ "description": "Fit the parent map to this layer whenever it is added.",
726
+ "attribute": "fit-bounds"
727
+ },
728
+ {
729
+ "kind": "field",
730
+ "name": "interactive",
731
+ "type": {
732
+ "text": "boolean"
733
+ },
734
+ "default": "true",
735
+ "description": "Whether features should respond to click events.",
736
+ "attribute": "interactive"
737
+ },
738
+ {
739
+ "kind": "field",
740
+ "name": "layer",
741
+ "type": {
742
+ "text": "L.GeoJSON | null"
743
+ },
744
+ "privacy": "public",
745
+ "description": "Access the underlying Leaflet GeoJSON layer.",
746
+ "readonly": true
747
+ },
748
+ {
749
+ "kind": "field",
750
+ "name": "popupTitleProperty",
751
+ "type": {
752
+ "text": "string"
753
+ },
754
+ "default": "\"\"",
755
+ "description": "Feature property shown as the popup heading.",
756
+ "attribute": "popup-title-property"
757
+ },
758
+ {
759
+ "kind": "field",
760
+ "name": "popupValueLabel",
761
+ "type": {
762
+ "text": "string"
763
+ },
764
+ "default": "\"\"",
765
+ "description": "Optional label placed before the popup value.",
766
+ "attribute": "popup-value-label"
767
+ },
768
+ {
769
+ "kind": "field",
770
+ "name": "popupValueProperty",
771
+ "type": {
772
+ "text": "string"
773
+ },
774
+ "default": "\"\"",
775
+ "description": "Optional feature property shown as the popup value.",
776
+ "attribute": "popup-value-property"
777
+ },
778
+ {
779
+ "kind": "field",
780
+ "name": "strokeColor",
781
+ "type": {
782
+ "text": "string"
783
+ },
784
+ "default": "\"#3388ff\"",
785
+ "description": "Stroke color.",
786
+ "attribute": "stroke-color"
787
+ },
788
+ {
789
+ "kind": "field",
790
+ "name": "strokeOpacity",
791
+ "type": {
792
+ "text": "number"
793
+ },
794
+ "default": "1",
795
+ "description": "Stroke opacity (0-1).",
796
+ "attribute": "stroke-opacity"
797
+ },
798
+ {
799
+ "kind": "field",
800
+ "name": "strokeWidth",
801
+ "type": {
802
+ "text": "number"
803
+ },
804
+ "default": "3",
805
+ "description": "Stroke width in pixels.",
806
+ "attribute": "stroke-width"
807
+ },
808
+ {
809
+ "kind": "field",
810
+ "name": "styleFunction",
811
+ "type": {
812
+ "text": "StyleFunction | null"
813
+ },
814
+ "default": "null",
815
+ "description": "Per-feature style function for choropleth / thematic maps.\nWhen set, each feature is styled by calling this function.\nReturned values override the static style props; omitted keys fall back to them."
816
+ }
817
+ ],
818
+ "events": [
819
+ {
820
+ "description": "Fired when a GeoJSON feature is clicked.",
821
+ "name": "sigvelo-feature-click"
822
+ }
823
+ ],
824
+ "attributes": [
825
+ {
826
+ "name": "channel",
827
+ "type": {
828
+ "text": "string"
829
+ },
830
+ "default": "\"\"",
831
+ "description": "Channel name for auto-syncing with a classify panel.\nWhen set, styleFunction updates automatically from the panel.",
832
+ "fieldName": "channel"
833
+ },
834
+ {
835
+ "name": "fill-color",
836
+ "type": {
837
+ "text": "string"
838
+ },
839
+ "default": "\"#3388ff\"",
840
+ "description": "Fill color for polygons / circles.",
841
+ "fieldName": "fillColor"
842
+ },
843
+ {
844
+ "name": "fill-opacity",
845
+ "type": {
846
+ "text": "number"
847
+ },
848
+ "default": "0.2",
849
+ "description": "Fill opacity (0-1).",
850
+ "fieldName": "fillOpacity"
851
+ },
852
+ {
853
+ "name": "fit-bounds",
854
+ "type": {
855
+ "text": "boolean"
856
+ },
857
+ "default": "false",
858
+ "description": "Fit the parent map to this layer whenever it is added.",
859
+ "fieldName": "fitBounds"
860
+ },
861
+ {
862
+ "name": "interactive",
863
+ "type": {
864
+ "text": "boolean"
865
+ },
866
+ "default": "true",
867
+ "description": "Whether features should respond to click events.",
868
+ "fieldName": "interactive"
869
+ },
870
+ {
871
+ "name": "popup-title-property",
872
+ "type": {
873
+ "text": "string"
874
+ },
875
+ "default": "\"\"",
876
+ "description": "Feature property shown as the popup heading.",
877
+ "fieldName": "popupTitleProperty"
878
+ },
879
+ {
880
+ "name": "popup-value-label",
881
+ "type": {
882
+ "text": "string"
883
+ },
884
+ "default": "\"\"",
885
+ "description": "Optional label placed before the popup value.",
886
+ "fieldName": "popupValueLabel"
887
+ },
888
+ {
889
+ "name": "popup-value-property",
890
+ "type": {
891
+ "text": "string"
892
+ },
893
+ "default": "\"\"",
894
+ "description": "Optional feature property shown as the popup value.",
895
+ "fieldName": "popupValueProperty"
896
+ },
897
+ {
898
+ "name": "stroke-color",
899
+ "type": {
900
+ "text": "string"
901
+ },
902
+ "default": "\"#3388ff\"",
903
+ "description": "Stroke color.",
904
+ "fieldName": "strokeColor"
905
+ },
906
+ {
907
+ "name": "stroke-opacity",
908
+ "type": {
909
+ "text": "number"
910
+ },
911
+ "default": "1",
912
+ "description": "Stroke opacity (0-1).",
913
+ "fieldName": "strokeOpacity"
914
+ },
915
+ {
916
+ "name": "stroke-width",
917
+ "type": {
918
+ "text": "number"
919
+ },
920
+ "default": "3",
921
+ "description": "Stroke width in pixels.",
922
+ "fieldName": "strokeWidth"
923
+ }
924
+ ],
925
+ "superclass": {
926
+ "name": "LitElement",
927
+ "package": "lit"
928
+ },
929
+ "tagName": "sigvelo-leaflet-geojson",
930
+ "customElement": true,
931
+ "modulePath": "src/components/geojson/geojson.ts",
932
+ "definitionPath": "src/components/geojson/geojson.ts"
933
+ }
934
+ ],
935
+ "exports": [
936
+ {
937
+ "kind": "custom-element-definition",
938
+ "name": "sigvelo-leaflet-geojson",
939
+ "declaration": {
940
+ "name": "SigveloLeafletGeojson",
941
+ "module": "src/components/geojson/geojson.ts"
942
+ }
943
+ },
944
+ {
945
+ "kind": "js",
946
+ "name": "SigveloLeafletGeojson",
947
+ "declaration": {
948
+ "name": "SigveloLeafletGeojson",
949
+ "module": "src/components/geojson/geojson.ts"
950
+ }
951
+ }
952
+ ]
953
+ },
954
+ {
955
+ "kind": "javascript-module",
956
+ "path": "src/components/map/map.ts",
957
+ "declarations": [
958
+ {
959
+ "kind": "class",
960
+ "description": "A Leaflet map component. Wrap tile layers, markers, and other geo elements\nas children of this component.",
961
+ "name": "SigveloLeafletMap",
962
+ "members": [
963
+ {
964
+ "kind": "field",
965
+ "name": "attributionControl",
966
+ "type": {
967
+ "text": "boolean"
968
+ },
969
+ "default": "true",
970
+ "description": "Whether to show default attribution control.",
971
+ "attribute": "attribution-control"
972
+ },
973
+ {
974
+ "kind": "method",
975
+ "name": "createMap",
976
+ "privacy": "protected",
977
+ "parameters": [
978
+ {
979
+ "name": "container",
980
+ "type": {
981
+ "text": "HTMLElement"
982
+ }
983
+ }
984
+ ]
985
+ },
986
+ {
987
+ "kind": "method",
988
+ "name": "destroyMap",
989
+ "privacy": "protected"
990
+ },
991
+ {
992
+ "kind": "method",
993
+ "name": "fitBounds",
994
+ "privacy": "public",
995
+ "parameters": [
996
+ {
997
+ "name": "options",
998
+ "type": {
999
+ "text": "FitBoundsOptions"
1000
+ }
1001
+ }
1002
+ ]
1003
+ },
1004
+ {
1005
+ "kind": "method",
1006
+ "name": "flyTo",
1007
+ "privacy": "public",
1008
+ "parameters": [
1009
+ {
1010
+ "name": "options",
1011
+ "type": {
1012
+ "text": "FlyToOptions"
1013
+ }
1014
+ }
1015
+ ]
1016
+ },
1017
+ {
1018
+ "kind": "method",
1019
+ "name": "invalidateSize",
1020
+ "privacy": "protected"
1021
+ },
1022
+ {
1023
+ "kind": "field",
1024
+ "name": "map",
1025
+ "type": {
1026
+ "text": "L.Map | null"
1027
+ },
1028
+ "privacy": "public",
1029
+ "description": "Access the underlying Leaflet map instance (after mapReady resolves).",
1030
+ "readonly": true
1031
+ },
1032
+ {
1033
+ "kind": "method",
1034
+ "name": "updateView",
1035
+ "privacy": "protected",
1036
+ "parameters": [
1037
+ {
1038
+ "name": "changed",
1039
+ "type": {
1040
+ "text": "PropertyValues"
1041
+ }
1042
+ }
1043
+ ]
1044
+ },
1045
+ {
1046
+ "kind": "field",
1047
+ "name": "zoomControl",
1048
+ "type": {
1049
+ "text": "boolean"
1050
+ },
1051
+ "default": "true",
1052
+ "description": "Whether to show default zoom controls.",
1053
+ "attribute": "zoom-control"
1054
+ }
1055
+ ],
1056
+ "events": [
1057
+ {
1058
+ "description": "Fired when the map is clicked.",
1059
+ "name": "sigvelo-map-click"
1060
+ },
1061
+ {
1062
+ "description": "Fired when the map finishes loading.",
1063
+ "name": "sigvelo-map-load"
1064
+ },
1065
+ {
1066
+ "description": "Fired while the map center is changing.",
1067
+ "name": "sigvelo-map-move"
1068
+ },
1069
+ {
1070
+ "description": "Fired when map movement ends.",
1071
+ "name": "sigvelo-map-moveend"
1072
+ },
1073
+ {
1074
+ "description": "Fired while the zoom level is changing.",
1075
+ "name": "sigvelo-map-zoom"
1076
+ },
1077
+ {
1078
+ "description": "Fired when zooming ends.",
1079
+ "name": "sigvelo-map-zoomend"
1080
+ }
1081
+ ],
1082
+ "attributes": [
1083
+ {
1084
+ "name": "attribution-control",
1085
+ "type": {
1086
+ "text": "boolean"
1087
+ },
1088
+ "default": "true",
1089
+ "description": "Whether to show default attribution control.",
1090
+ "fieldName": "attributionControl"
1091
+ },
1092
+ {
1093
+ "name": "zoom-control",
1094
+ "type": {
1095
+ "text": "boolean"
1096
+ },
1097
+ "default": "true",
1098
+ "description": "Whether to show default zoom controls.",
1099
+ "fieldName": "zoomControl"
1100
+ }
1101
+ ],
1102
+ "superclass": {
1103
+ "name": "GeoMapElement",
1104
+ "package": "@mcp-b/geo-support/base/geo-map-element"
1105
+ },
1106
+ "tagName": "sigvelo-leaflet-map",
1107
+ "customElement": true,
1108
+ "modulePath": "src/components/map/map.ts",
1109
+ "definitionPath": "src/components/map/map.ts"
1110
+ }
1111
+ ],
1112
+ "exports": [
1113
+ {
1114
+ "kind": "custom-element-definition",
1115
+ "name": "sigvelo-leaflet-map",
1116
+ "declaration": {
1117
+ "name": "SigveloLeafletMap",
1118
+ "module": "src/components/map/map.ts"
1119
+ }
1120
+ },
1121
+ {
1122
+ "kind": "js",
1123
+ "name": "SigveloLeafletMap",
1124
+ "declaration": {
1125
+ "name": "SigveloLeafletMap",
1126
+ "module": "src/components/map/map.ts"
1127
+ }
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ "kind": "javascript-module",
1133
+ "path": "src/components/marker/marker.ts",
1134
+ "declarations": [
1135
+ {
1136
+ "kind": "class",
1137
+ "description": "A marker on a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.\nNest a `<sigvelo-leaflet-popup>` inside for popup content.",
1138
+ "name": "SigveloLeafletMarker",
1139
+ "members": [
1140
+ {
1141
+ "kind": "field",
1142
+ "name": "draggable",
1143
+ "type": {
1144
+ "text": "boolean"
1145
+ },
1146
+ "default": "false",
1147
+ "description": "Whether the marker is draggable.",
1148
+ "attribute": "draggable"
1149
+ },
1150
+ {
1151
+ "kind": "field",
1152
+ "name": "iconHeight",
1153
+ "type": {
1154
+ "text": "number"
1155
+ },
1156
+ "default": "41",
1157
+ "description": "Icon height in pixels (used with icon-url).",
1158
+ "attribute": "icon-height"
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "iconUrl",
1163
+ "type": {
1164
+ "text": "string"
1165
+ },
1166
+ "default": "\"\"",
1167
+ "description": "Custom icon URL. If not set, the default Leaflet icon is used.",
1168
+ "attribute": "icon-url"
1169
+ },
1170
+ {
1171
+ "kind": "field",
1172
+ "name": "iconWidth",
1173
+ "type": {
1174
+ "text": "number"
1175
+ },
1176
+ "default": "25",
1177
+ "description": "Icon width in pixels (used with icon-url).",
1178
+ "attribute": "icon-width"
1179
+ },
1180
+ {
1181
+ "kind": "field",
1182
+ "name": "latitude",
1183
+ "type": {
1184
+ "text": "number"
1185
+ },
1186
+ "default": "0",
1187
+ "description": "Marker latitude.",
1188
+ "attribute": "latitude"
1189
+ },
1190
+ {
1191
+ "kind": "field",
1192
+ "name": "longitude",
1193
+ "type": {
1194
+ "text": "number"
1195
+ },
1196
+ "default": "0",
1197
+ "description": "Marker longitude.",
1198
+ "attribute": "longitude"
1199
+ },
1200
+ {
1201
+ "kind": "field",
1202
+ "name": "marker",
1203
+ "type": {
1204
+ "text": "L.Marker | null"
1205
+ },
1206
+ "privacy": "public",
1207
+ "description": "Access the underlying Leaflet marker instance.",
1208
+ "readonly": true
1209
+ },
1210
+ {
1211
+ "kind": "field",
1212
+ "name": "opacity",
1213
+ "type": {
1214
+ "text": "number"
1215
+ },
1216
+ "default": "1",
1217
+ "description": "Opacity of the marker (0-1).",
1218
+ "attribute": "opacity"
1219
+ },
1220
+ {
1221
+ "kind": "field",
1222
+ "name": "title",
1223
+ "type": {
1224
+ "text": "string"
1225
+ },
1226
+ "default": "\"\"",
1227
+ "description": "Title attribute for the marker (shows on hover).",
1228
+ "attribute": "title"
1229
+ }
1230
+ ],
1231
+ "attributes": [
1232
+ {
1233
+ "name": "draggable",
1234
+ "type": {
1235
+ "text": "boolean"
1236
+ },
1237
+ "default": "false",
1238
+ "description": "Whether the marker is draggable.",
1239
+ "fieldName": "draggable"
1240
+ },
1241
+ {
1242
+ "name": "icon-height",
1243
+ "type": {
1244
+ "text": "number"
1245
+ },
1246
+ "default": "41",
1247
+ "description": "Icon height in pixels (used with icon-url).",
1248
+ "fieldName": "iconHeight"
1249
+ },
1250
+ {
1251
+ "name": "icon-url",
1252
+ "type": {
1253
+ "text": "string"
1254
+ },
1255
+ "default": "\"\"",
1256
+ "description": "Custom icon URL. If not set, the default Leaflet icon is used.",
1257
+ "fieldName": "iconUrl"
1258
+ },
1259
+ {
1260
+ "name": "icon-width",
1261
+ "type": {
1262
+ "text": "number"
1263
+ },
1264
+ "default": "25",
1265
+ "description": "Icon width in pixels (used with icon-url).",
1266
+ "fieldName": "iconWidth"
1267
+ },
1268
+ {
1269
+ "name": "latitude",
1270
+ "type": {
1271
+ "text": "number"
1272
+ },
1273
+ "default": "0",
1274
+ "description": "Marker latitude.",
1275
+ "fieldName": "latitude"
1276
+ },
1277
+ {
1278
+ "name": "longitude",
1279
+ "type": {
1280
+ "text": "number"
1281
+ },
1282
+ "default": "0",
1283
+ "description": "Marker longitude.",
1284
+ "fieldName": "longitude"
1285
+ },
1286
+ {
1287
+ "name": "opacity",
1288
+ "type": {
1289
+ "text": "number"
1290
+ },
1291
+ "default": "1",
1292
+ "description": "Opacity of the marker (0-1).",
1293
+ "fieldName": "opacity"
1294
+ },
1295
+ {
1296
+ "name": "title",
1297
+ "type": {
1298
+ "text": "string"
1299
+ },
1300
+ "default": "\"\"",
1301
+ "description": "Title attribute for the marker (shows on hover).",
1302
+ "fieldName": "title"
1303
+ }
1304
+ ],
1305
+ "superclass": {
1306
+ "name": "LitElement",
1307
+ "package": "lit"
1308
+ },
1309
+ "tagName": "sigvelo-leaflet-marker",
1310
+ "customElement": true,
1311
+ "modulePath": "src/components/marker/marker.ts",
1312
+ "definitionPath": "src/components/marker/marker.ts"
1313
+ }
1314
+ ],
1315
+ "exports": [
1316
+ {
1317
+ "kind": "custom-element-definition",
1318
+ "name": "sigvelo-leaflet-marker",
1319
+ "declaration": {
1320
+ "name": "SigveloLeafletMarker",
1321
+ "module": "src/components/marker/marker.ts"
1322
+ }
1323
+ },
1324
+ {
1325
+ "kind": "js",
1326
+ "name": "SigveloLeafletMarker",
1327
+ "declaration": {
1328
+ "name": "SigveloLeafletMarker",
1329
+ "module": "src/components/marker/marker.ts"
1330
+ }
1331
+ }
1332
+ ]
1333
+ },
1334
+ {
1335
+ "kind": "javascript-module",
1336
+ "path": "src/components/polygon/polygon.ts",
1337
+ "declarations": [
1338
+ {
1339
+ "kind": "class",
1340
+ "description": "A polygon overlay on a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
1341
+ "name": "SigveloLeafletPolygon",
1342
+ "members": [
1343
+ {
1344
+ "kind": "field",
1345
+ "name": "fillColor",
1346
+ "type": {
1347
+ "text": "string"
1348
+ },
1349
+ "default": "\"#3388ff\"",
1350
+ "description": "Fill color (CSS color string).",
1351
+ "attribute": "fill-color"
1352
+ },
1353
+ {
1354
+ "kind": "field",
1355
+ "name": "fillOpacity",
1356
+ "type": {
1357
+ "text": "number"
1358
+ },
1359
+ "default": "0.2",
1360
+ "description": "Fill opacity (0-1).",
1361
+ "attribute": "fill-opacity"
1362
+ },
1363
+ {
1364
+ "kind": "field",
1365
+ "name": "positions",
1366
+ "type": {
1367
+ "text": "Array<[number, number]>"
1368
+ },
1369
+ "default": "[]",
1370
+ "description": "Array of [lat, lng] coordinate pairs forming the polygon. Set via property."
1371
+ },
1372
+ {
1373
+ "kind": "field",
1374
+ "name": "strokeColor",
1375
+ "type": {
1376
+ "text": "string"
1377
+ },
1378
+ "default": "\"#3388ff\"",
1379
+ "description": "Stroke color (CSS color string).",
1380
+ "attribute": "stroke-color"
1381
+ },
1382
+ {
1383
+ "kind": "field",
1384
+ "name": "strokeWidth",
1385
+ "type": {
1386
+ "text": "number"
1387
+ },
1388
+ "default": "3",
1389
+ "description": "Stroke width in pixels.",
1390
+ "attribute": "stroke-width"
1391
+ }
1392
+ ],
1393
+ "attributes": [
1394
+ {
1395
+ "name": "fill-color",
1396
+ "type": {
1397
+ "text": "string"
1398
+ },
1399
+ "default": "\"#3388ff\"",
1400
+ "description": "Fill color (CSS color string).",
1401
+ "fieldName": "fillColor"
1402
+ },
1403
+ {
1404
+ "name": "fill-opacity",
1405
+ "type": {
1406
+ "text": "number"
1407
+ },
1408
+ "default": "0.2",
1409
+ "description": "Fill opacity (0-1).",
1410
+ "fieldName": "fillOpacity"
1411
+ },
1412
+ {
1413
+ "name": "stroke-color",
1414
+ "type": {
1415
+ "text": "string"
1416
+ },
1417
+ "default": "\"#3388ff\"",
1418
+ "description": "Stroke color (CSS color string).",
1419
+ "fieldName": "strokeColor"
1420
+ },
1421
+ {
1422
+ "name": "stroke-width",
1423
+ "type": {
1424
+ "text": "number"
1425
+ },
1426
+ "default": "3",
1427
+ "description": "Stroke width in pixels.",
1428
+ "fieldName": "strokeWidth"
1429
+ }
1430
+ ],
1431
+ "superclass": {
1432
+ "name": "LitElement",
1433
+ "package": "lit"
1434
+ },
1435
+ "tagName": "sigvelo-leaflet-polygon",
1436
+ "customElement": true,
1437
+ "modulePath": "src/components/polygon/polygon.ts",
1438
+ "definitionPath": "src/components/polygon/polygon.ts"
1439
+ }
1440
+ ],
1441
+ "exports": [
1442
+ {
1443
+ "kind": "custom-element-definition",
1444
+ "name": "sigvelo-leaflet-polygon",
1445
+ "declaration": {
1446
+ "name": "SigveloLeafletPolygon",
1447
+ "module": "src/components/polygon/polygon.ts"
1448
+ }
1449
+ },
1450
+ {
1451
+ "kind": "js",
1452
+ "name": "SigveloLeafletPolygon",
1453
+ "declaration": {
1454
+ "name": "SigveloLeafletPolygon",
1455
+ "module": "src/components/polygon/polygon.ts"
1456
+ }
1457
+ }
1458
+ ]
1459
+ },
1460
+ {
1461
+ "kind": "javascript-module",
1462
+ "path": "src/components/polyline/polyline.ts",
1463
+ "declarations": [
1464
+ {
1465
+ "kind": "class",
1466
+ "description": "A polyline overlay on a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
1467
+ "name": "SigveloLeafletPolyline",
1468
+ "members": [
1469
+ {
1470
+ "kind": "field",
1471
+ "name": "color",
1472
+ "type": {
1473
+ "text": "string"
1474
+ },
1475
+ "default": "\"#3388ff\"",
1476
+ "description": "Line color (CSS color string).",
1477
+ "attribute": "color"
1478
+ },
1479
+ {
1480
+ "kind": "field",
1481
+ "name": "dashArray",
1482
+ "type": {
1483
+ "text": "string"
1484
+ },
1485
+ "default": "\"\"",
1486
+ "description": "Dash pattern (e.g. \"5 10\").",
1487
+ "attribute": "dash-array"
1488
+ },
1489
+ {
1490
+ "kind": "field",
1491
+ "name": "opacity",
1492
+ "type": {
1493
+ "text": "number"
1494
+ },
1495
+ "default": "1",
1496
+ "description": "Opacity (0-1).",
1497
+ "attribute": "opacity"
1498
+ },
1499
+ {
1500
+ "kind": "field",
1501
+ "name": "positions",
1502
+ "type": {
1503
+ "text": "Array<[number, number]>"
1504
+ },
1505
+ "default": "[]",
1506
+ "description": "Array of [lat, lng] coordinate pairs. Set via property."
1507
+ },
1508
+ {
1509
+ "kind": "field",
1510
+ "name": "weight",
1511
+ "type": {
1512
+ "text": "number"
1513
+ },
1514
+ "default": "3",
1515
+ "description": "Line width in pixels.",
1516
+ "attribute": "weight"
1517
+ }
1518
+ ],
1519
+ "attributes": [
1520
+ {
1521
+ "name": "color",
1522
+ "type": {
1523
+ "text": "string"
1524
+ },
1525
+ "default": "\"#3388ff\"",
1526
+ "description": "Line color (CSS color string).",
1527
+ "fieldName": "color"
1528
+ },
1529
+ {
1530
+ "name": "dash-array",
1531
+ "type": {
1532
+ "text": "string"
1533
+ },
1534
+ "default": "\"\"",
1535
+ "description": "Dash pattern (e.g. \"5 10\").",
1536
+ "fieldName": "dashArray"
1537
+ },
1538
+ {
1539
+ "name": "opacity",
1540
+ "type": {
1541
+ "text": "number"
1542
+ },
1543
+ "default": "1",
1544
+ "description": "Opacity (0-1).",
1545
+ "fieldName": "opacity"
1546
+ },
1547
+ {
1548
+ "name": "weight",
1549
+ "type": {
1550
+ "text": "number"
1551
+ },
1552
+ "default": "3",
1553
+ "description": "Line width in pixels.",
1554
+ "fieldName": "weight"
1555
+ }
1556
+ ],
1557
+ "superclass": {
1558
+ "name": "LitElement",
1559
+ "package": "lit"
1560
+ },
1561
+ "tagName": "sigvelo-leaflet-polyline",
1562
+ "customElement": true,
1563
+ "modulePath": "src/components/polyline/polyline.ts",
1564
+ "definitionPath": "src/components/polyline/polyline.ts"
1565
+ }
1566
+ ],
1567
+ "exports": [
1568
+ {
1569
+ "kind": "custom-element-definition",
1570
+ "name": "sigvelo-leaflet-polyline",
1571
+ "declaration": {
1572
+ "name": "SigveloLeafletPolyline",
1573
+ "module": "src/components/polyline/polyline.ts"
1574
+ }
1575
+ },
1576
+ {
1577
+ "kind": "js",
1578
+ "name": "SigveloLeafletPolyline",
1579
+ "declaration": {
1580
+ "name": "SigveloLeafletPolyline",
1581
+ "module": "src/components/polyline/polyline.ts"
1582
+ }
1583
+ }
1584
+ ]
1585
+ },
1586
+ {
1587
+ "kind": "javascript-module",
1588
+ "path": "src/components/popup/popup.ts",
1589
+ "declarations": [
1590
+ {
1591
+ "kind": "class",
1592
+ "description": "Popup content for a Leaflet marker or map. Nest inside a\n`<sigvelo-leaflet-marker>` to attach to a marker, or use standalone\ninside `<sigvelo-leaflet-map>` for a map-level popup.\n\nContent is provided via the default slot (Light DOM) so Sigvelo design\ntokens and components render correctly.",
1593
+ "name": "SigveloLeafletPopup",
1594
+ "slots": [
1595
+ {
1596
+ "description": "Popup content.",
1597
+ "name": ""
1598
+ }
1599
+ ],
1600
+ "members": [
1601
+ {
1602
+ "kind": "field",
1603
+ "name": "maxWidth",
1604
+ "type": {
1605
+ "text": "number"
1606
+ },
1607
+ "default": "300",
1608
+ "description": "Maximum width of the popup in pixels.",
1609
+ "attribute": "max-width"
1610
+ },
1611
+ {
1612
+ "kind": "field",
1613
+ "name": "minWidth",
1614
+ "type": {
1615
+ "text": "number"
1616
+ },
1617
+ "default": "50",
1618
+ "description": "Minimum width of the popup in pixels.",
1619
+ "attribute": "min-width"
1620
+ }
1621
+ ],
1622
+ "attributes": [
1623
+ {
1624
+ "name": "max-width",
1625
+ "type": {
1626
+ "text": "number"
1627
+ },
1628
+ "default": "300",
1629
+ "description": "Maximum width of the popup in pixels.",
1630
+ "fieldName": "maxWidth"
1631
+ },
1632
+ {
1633
+ "name": "min-width",
1634
+ "type": {
1635
+ "text": "number"
1636
+ },
1637
+ "default": "50",
1638
+ "description": "Minimum width of the popup in pixels.",
1639
+ "fieldName": "minWidth"
1640
+ }
1641
+ ],
1642
+ "superclass": {
1643
+ "name": "LitElement",
1644
+ "package": "lit"
1645
+ },
1646
+ "tagName": "sigvelo-leaflet-popup",
1647
+ "customElement": true,
1648
+ "modulePath": "src/components/popup/popup.ts",
1649
+ "definitionPath": "src/components/popup/popup.ts"
1650
+ }
1651
+ ],
1652
+ "exports": [
1653
+ {
1654
+ "kind": "custom-element-definition",
1655
+ "name": "sigvelo-leaflet-popup",
1656
+ "declaration": {
1657
+ "name": "SigveloLeafletPopup",
1658
+ "module": "src/components/popup/popup.ts"
1659
+ }
1660
+ },
1661
+ {
1662
+ "kind": "js",
1663
+ "name": "SigveloLeafletPopup",
1664
+ "declaration": {
1665
+ "name": "SigveloLeafletPopup",
1666
+ "module": "src/components/popup/popup.ts"
1667
+ }
1668
+ }
1669
+ ]
1670
+ },
1671
+ {
1672
+ "kind": "javascript-module",
1673
+ "path": "src/components/scale-control/scale-control.ts",
1674
+ "declarations": [
1675
+ {
1676
+ "kind": "class",
1677
+ "description": "A scale bar control for a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
1678
+ "name": "SigveloLeafletScaleControl",
1679
+ "members": [
1680
+ {
1681
+ "kind": "field",
1682
+ "name": "imperial",
1683
+ "type": {
1684
+ "text": "boolean"
1685
+ },
1686
+ "default": "true",
1687
+ "description": "Whether to show the imperial scale line.",
1688
+ "attribute": "imperial"
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "maxWidth",
1693
+ "type": {
1694
+ "text": "number"
1695
+ },
1696
+ "default": "100",
1697
+ "description": "Maximum width of the control in pixels.",
1698
+ "attribute": "max-width"
1699
+ },
1700
+ {
1701
+ "kind": "field",
1702
+ "name": "metric",
1703
+ "type": {
1704
+ "text": "boolean"
1705
+ },
1706
+ "default": "true",
1707
+ "description": "Whether to show the metric scale line.",
1708
+ "attribute": "metric"
1709
+ },
1710
+ {
1711
+ "kind": "field",
1712
+ "name": "position",
1713
+ "type": {
1714
+ "text": "L.ControlPosition"
1715
+ },
1716
+ "default": "\"bottomleft\"",
1717
+ "description": "Position of the control on the map.",
1718
+ "attribute": "position"
1719
+ }
1720
+ ],
1721
+ "attributes": [
1722
+ {
1723
+ "name": "imperial",
1724
+ "type": {
1725
+ "text": "boolean"
1726
+ },
1727
+ "default": "true",
1728
+ "description": "Whether to show the imperial scale line.",
1729
+ "fieldName": "imperial"
1730
+ },
1731
+ {
1732
+ "name": "max-width",
1733
+ "type": {
1734
+ "text": "number"
1735
+ },
1736
+ "default": "100",
1737
+ "description": "Maximum width of the control in pixels.",
1738
+ "fieldName": "maxWidth"
1739
+ },
1740
+ {
1741
+ "name": "metric",
1742
+ "type": {
1743
+ "text": "boolean"
1744
+ },
1745
+ "default": "true",
1746
+ "description": "Whether to show the metric scale line.",
1747
+ "fieldName": "metric"
1748
+ },
1749
+ {
1750
+ "name": "position",
1751
+ "type": {
1752
+ "text": "L.ControlPosition"
1753
+ },
1754
+ "default": "\"bottomleft\"",
1755
+ "description": "Position of the control on the map.",
1756
+ "fieldName": "position"
1757
+ }
1758
+ ],
1759
+ "superclass": {
1760
+ "name": "LitElement",
1761
+ "package": "lit"
1762
+ },
1763
+ "tagName": "sigvelo-leaflet-scale-control",
1764
+ "customElement": true,
1765
+ "modulePath": "src/components/scale-control/scale-control.ts",
1766
+ "definitionPath": "src/components/scale-control/scale-control.ts"
1767
+ }
1768
+ ],
1769
+ "exports": [
1770
+ {
1771
+ "kind": "custom-element-definition",
1772
+ "name": "sigvelo-leaflet-scale-control",
1773
+ "declaration": {
1774
+ "name": "SigveloLeafletScaleControl",
1775
+ "module": "src/components/scale-control/scale-control.ts"
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "js",
1780
+ "name": "SigveloLeafletScaleControl",
1781
+ "declaration": {
1782
+ "name": "SigveloLeafletScaleControl",
1783
+ "module": "src/components/scale-control/scale-control.ts"
1784
+ }
1785
+ }
1786
+ ]
1787
+ },
1788
+ {
1789
+ "kind": "javascript-module",
1790
+ "path": "src/components/tilelayer/tilelayer.ts",
1791
+ "declarations": [
1792
+ {
1793
+ "kind": "class",
1794
+ "description": "A tile layer for a Leaflet map. Must be a child of `<sigvelo-leaflet-map>`.",
1795
+ "name": "SigveloLeafletTilelayer",
1796
+ "members": [
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "attribution",
1800
+ "type": {
1801
+ "text": "string"
1802
+ },
1803
+ "default": "\"\"",
1804
+ "description": "Attribution text for this tile layer.",
1805
+ "attribute": "attribution"
1806
+ },
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "maxZoom",
1810
+ "type": {
1811
+ "text": "number"
1812
+ },
1813
+ "default": "19",
1814
+ "description": "Maximum zoom for this layer.",
1815
+ "attribute": "max-zoom"
1816
+ },
1817
+ {
1818
+ "kind": "field",
1819
+ "name": "minZoom",
1820
+ "type": {
1821
+ "text": "number"
1822
+ },
1823
+ "default": "0",
1824
+ "description": "Minimum zoom for this layer.",
1825
+ "attribute": "min-zoom"
1826
+ },
1827
+ {
1828
+ "kind": "field",
1829
+ "name": "opacity",
1830
+ "type": {
1831
+ "text": "number"
1832
+ },
1833
+ "default": "1",
1834
+ "description": "Opacity of the tile layer (0-1).",
1835
+ "attribute": "opacity"
1836
+ },
1837
+ {
1838
+ "kind": "field",
1839
+ "name": "subdomains",
1840
+ "type": {
1841
+ "text": "string"
1842
+ },
1843
+ "default": "\"abc\"",
1844
+ "description": "Tile subdomains.",
1845
+ "attribute": "subdomains"
1846
+ },
1847
+ {
1848
+ "kind": "field",
1849
+ "name": "url",
1850
+ "type": {
1851
+ "text": "string"
1852
+ },
1853
+ "default": "\"\"",
1854
+ "description": "URL template for tiles (e.g. `https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`).",
1855
+ "attribute": "url"
1856
+ }
1857
+ ],
1858
+ "attributes": [
1859
+ {
1860
+ "name": "attribution",
1861
+ "type": {
1862
+ "text": "string"
1863
+ },
1864
+ "default": "\"\"",
1865
+ "description": "Attribution text for this tile layer.",
1866
+ "fieldName": "attribution"
1867
+ },
1868
+ {
1869
+ "name": "max-zoom",
1870
+ "type": {
1871
+ "text": "number"
1872
+ },
1873
+ "default": "19",
1874
+ "description": "Maximum zoom for this layer.",
1875
+ "fieldName": "maxZoom"
1876
+ },
1877
+ {
1878
+ "name": "min-zoom",
1879
+ "type": {
1880
+ "text": "number"
1881
+ },
1882
+ "default": "0",
1883
+ "description": "Minimum zoom for this layer.",
1884
+ "fieldName": "minZoom"
1885
+ },
1886
+ {
1887
+ "name": "opacity",
1888
+ "type": {
1889
+ "text": "number"
1890
+ },
1891
+ "default": "1",
1892
+ "description": "Opacity of the tile layer (0-1).",
1893
+ "fieldName": "opacity"
1894
+ },
1895
+ {
1896
+ "name": "subdomains",
1897
+ "type": {
1898
+ "text": "string"
1899
+ },
1900
+ "default": "\"abc\"",
1901
+ "description": "Tile subdomains.",
1902
+ "fieldName": "subdomains"
1903
+ },
1904
+ {
1905
+ "name": "url",
1906
+ "type": {
1907
+ "text": "string"
1908
+ },
1909
+ "default": "\"\"",
1910
+ "description": "URL template for tiles (e.g. `https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`).",
1911
+ "fieldName": "url"
1912
+ }
1913
+ ],
1914
+ "superclass": {
1915
+ "name": "LitElement",
1916
+ "package": "lit"
1917
+ },
1918
+ "tagName": "sigvelo-leaflet-tilelayer",
1919
+ "customElement": true,
1920
+ "modulePath": "src/components/tilelayer/tilelayer.ts",
1921
+ "definitionPath": "src/components/tilelayer/tilelayer.ts"
1922
+ }
1923
+ ],
1924
+ "exports": [
1925
+ {
1926
+ "kind": "custom-element-definition",
1927
+ "name": "sigvelo-leaflet-tilelayer",
1928
+ "declaration": {
1929
+ "name": "SigveloLeafletTilelayer",
1930
+ "module": "src/components/tilelayer/tilelayer.ts"
1931
+ }
1932
+ },
1933
+ {
1934
+ "kind": "js",
1935
+ "name": "SigveloLeafletTilelayer",
1936
+ "declaration": {
1937
+ "name": "SigveloLeafletTilelayer",
1938
+ "module": "src/components/tilelayer/tilelayer.ts"
1939
+ }
1940
+ }
1941
+ ]
1942
+ },
1943
+ {
1944
+ "kind": "javascript-module",
1945
+ "path": "src/default-icon.ts",
1946
+ "declarations": [],
1947
+ "exports": []
1948
+ },
1949
+ {
1950
+ "kind": "javascript-module",
1951
+ "path": "src/index.ts",
1952
+ "declarations": [],
1953
+ "exports": [
1954
+ {
1955
+ "kind": "js",
1956
+ "name": "*",
1957
+ "declaration": {
1958
+ "name": "*",
1959
+ "module": "src/components/map/map.js"
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "*",
1965
+ "declaration": {
1966
+ "name": "*",
1967
+ "module": "src/components/tilelayer/tilelayer.js"
1968
+ }
1969
+ },
1970
+ {
1971
+ "kind": "js",
1972
+ "name": "*",
1973
+ "declaration": {
1974
+ "name": "*",
1975
+ "module": "src/components/marker/marker.js"
1976
+ }
1977
+ },
1978
+ {
1979
+ "kind": "js",
1980
+ "name": "*",
1981
+ "declaration": {
1982
+ "name": "*",
1983
+ "module": "src/components/popup/popup.js"
1984
+ }
1985
+ },
1986
+ {
1987
+ "kind": "js",
1988
+ "name": "*",
1989
+ "declaration": {
1990
+ "name": "*",
1991
+ "module": "src/components/geojson/geojson.js"
1992
+ }
1993
+ },
1994
+ {
1995
+ "kind": "js",
1996
+ "name": "*",
1997
+ "declaration": {
1998
+ "name": "*",
1999
+ "module": "src/components/choropleth/choropleth.js"
2000
+ }
2001
+ },
2002
+ {
2003
+ "kind": "js",
2004
+ "name": "*",
2005
+ "declaration": {
2006
+ "name": "*",
2007
+ "module": "src/components/circle/circle.js"
2008
+ }
2009
+ },
2010
+ {
2011
+ "kind": "js",
2012
+ "name": "*",
2013
+ "declaration": {
2014
+ "name": "*",
2015
+ "module": "src/components/polyline/polyline.js"
2016
+ }
2017
+ },
2018
+ {
2019
+ "kind": "js",
2020
+ "name": "*",
2021
+ "declaration": {
2022
+ "name": "*",
2023
+ "module": "src/components/polygon/polygon.js"
2024
+ }
2025
+ },
2026
+ {
2027
+ "kind": "js",
2028
+ "name": "*",
2029
+ "declaration": {
2030
+ "name": "*",
2031
+ "module": "src/components/scale-control/scale-control.js"
2032
+ }
2033
+ },
2034
+ {
2035
+ "kind": "js",
2036
+ "name": "*",
2037
+ "declaration": {
2038
+ "name": "*",
2039
+ "module": "src/components/control/control.js"
2040
+ }
2041
+ }
2042
+ ]
2043
+ }
2044
+ ],
2045
+ "package": {
2046
+ "name": "@mcp-b/geo-leaflet",
2047
+ "description": "Leaflet web components for Sigvelo, built with Lit.",
2048
+ "version": "0.2.0",
2049
+ "license": "MIT"
2050
+ }
2051
+ }