@mcp-b/geo-openlayers 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 (39) hide show
  1. package/LICENSE +21 -0
  2. package/dist/circle-BiLEqiGC.js +102 -0
  3. package/dist/components/circle/circle.d.ts +47 -0
  4. package/dist/components/circle/circle.js +2 -0
  5. package/dist/components/control/control.d.ts +41 -0
  6. package/dist/components/control/control.js +2 -0
  7. package/dist/components/geojson/geojson.d.ts +66 -0
  8. package/dist/components/geojson/geojson.js +2 -0
  9. package/dist/components/map/map.d.ts +45 -0
  10. package/dist/components/map/map.js +2 -0
  11. package/dist/components/marker/marker.d.ts +46 -0
  12. package/dist/components/marker/marker.js +2 -0
  13. package/dist/components/overlay/overlay.d.ts +40 -0
  14. package/dist/components/overlay/overlay.js +2 -0
  15. package/dist/components/polygon/polygon.d.ts +45 -0
  16. package/dist/components/polygon/polygon.js +2 -0
  17. package/dist/components/polyline/polyline.d.ts +45 -0
  18. package/dist/components/polyline/polyline.js +2 -0
  19. package/dist/components/popup/popup.d.ts +27 -0
  20. package/dist/components/popup/popup.js +2 -0
  21. package/dist/components/scale-control/scale-control.d.ts +32 -0
  22. package/dist/components/scale-control/scale-control.js +2 -0
  23. package/dist/components/tilelayer/tilelayer.d.ts +38 -0
  24. package/dist/components/tilelayer/tilelayer.js +2 -0
  25. package/dist/control-CTiiOtzM.js +59 -0
  26. package/dist/decorate-DcF3lt7P.js +9 -0
  27. package/dist/docs/custom-elements.json +1404 -0
  28. package/dist/geojson-BU-tOeyz.js +184 -0
  29. package/dist/index.d.ts +12 -0
  30. package/dist/index.js +12 -0
  31. package/dist/map-eGQh7n8O.js +146 -0
  32. package/dist/marker-DEG_oTfJ.js +124 -0
  33. package/dist/overlay-BFXjnhLj.js +65 -0
  34. package/dist/polygon-BaKBzEHK.js +105 -0
  35. package/dist/polyline-DXXHbwfm.js +89 -0
  36. package/dist/popup-CpiCysPO.js +30 -0
  37. package/dist/scale-control-zMLnp2Rt.js +57 -0
  38. package/dist/tilelayer-BAC1OCHe.js +73 -0
  39. package/package.json +76 -0
@@ -0,0 +1,1404 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/components/circle/circle.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "A circle overlay on an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.",
12
+ "name": "SigveloOlCircle",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "fillColor",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "default": "\"#3388ff\"",
21
+ "description": "Fill color (CSS color string).",
22
+ "attribute": "fill-color"
23
+ },
24
+ {
25
+ "kind": "field",
26
+ "name": "fillOpacity",
27
+ "type": {
28
+ "text": "number"
29
+ },
30
+ "default": "0.2",
31
+ "description": "Fill opacity (0-1).",
32
+ "attribute": "fill-opacity"
33
+ },
34
+ {
35
+ "kind": "field",
36
+ "name": "latitude",
37
+ "type": {
38
+ "text": "number"
39
+ },
40
+ "default": "0",
41
+ "description": "Center latitude.",
42
+ "attribute": "latitude"
43
+ },
44
+ {
45
+ "kind": "field",
46
+ "name": "longitude",
47
+ "type": {
48
+ "text": "number"
49
+ },
50
+ "default": "0",
51
+ "description": "Center longitude.",
52
+ "attribute": "longitude"
53
+ },
54
+ {
55
+ "kind": "field",
56
+ "name": "radius",
57
+ "type": {
58
+ "text": "number"
59
+ },
60
+ "default": "100",
61
+ "description": "Radius in meters.",
62
+ "attribute": "radius"
63
+ },
64
+ {
65
+ "kind": "field",
66
+ "name": "strokeColor",
67
+ "type": {
68
+ "text": "string"
69
+ },
70
+ "default": "\"#3388ff\"",
71
+ "description": "Stroke color (CSS color string).",
72
+ "attribute": "stroke-color"
73
+ },
74
+ {
75
+ "kind": "field",
76
+ "name": "strokeWidth",
77
+ "type": {
78
+ "text": "number"
79
+ },
80
+ "default": "2",
81
+ "description": "Stroke width in pixels.",
82
+ "attribute": "stroke-width"
83
+ }
84
+ ],
85
+ "attributes": [
86
+ {
87
+ "name": "fill-color",
88
+ "type": {
89
+ "text": "string"
90
+ },
91
+ "default": "\"#3388ff\"",
92
+ "description": "Fill color (CSS color string).",
93
+ "fieldName": "fillColor"
94
+ },
95
+ {
96
+ "name": "fill-opacity",
97
+ "type": {
98
+ "text": "number"
99
+ },
100
+ "default": "0.2",
101
+ "description": "Fill opacity (0-1).",
102
+ "fieldName": "fillOpacity"
103
+ },
104
+ {
105
+ "name": "latitude",
106
+ "type": {
107
+ "text": "number"
108
+ },
109
+ "default": "0",
110
+ "description": "Center latitude.",
111
+ "fieldName": "latitude"
112
+ },
113
+ {
114
+ "name": "longitude",
115
+ "type": {
116
+ "text": "number"
117
+ },
118
+ "default": "0",
119
+ "description": "Center longitude.",
120
+ "fieldName": "longitude"
121
+ },
122
+ {
123
+ "name": "radius",
124
+ "type": {
125
+ "text": "number"
126
+ },
127
+ "default": "100",
128
+ "description": "Radius in meters.",
129
+ "fieldName": "radius"
130
+ },
131
+ {
132
+ "name": "stroke-color",
133
+ "type": {
134
+ "text": "string"
135
+ },
136
+ "default": "\"#3388ff\"",
137
+ "description": "Stroke color (CSS color string).",
138
+ "fieldName": "strokeColor"
139
+ },
140
+ {
141
+ "name": "stroke-width",
142
+ "type": {
143
+ "text": "number"
144
+ },
145
+ "default": "2",
146
+ "description": "Stroke width in pixels.",
147
+ "fieldName": "strokeWidth"
148
+ }
149
+ ],
150
+ "superclass": {
151
+ "name": "LitElement",
152
+ "package": "lit"
153
+ },
154
+ "tagName": "sigvelo-ol-circle",
155
+ "customElement": true,
156
+ "modulePath": "src/components/circle/circle.ts",
157
+ "definitionPath": "src/components/circle/circle.ts"
158
+ }
159
+ ],
160
+ "exports": [
161
+ {
162
+ "kind": "custom-element-definition",
163
+ "name": "sigvelo-ol-circle",
164
+ "declaration": {
165
+ "name": "SigveloOlCircle",
166
+ "module": "src/components/circle/circle.ts"
167
+ }
168
+ },
169
+ {
170
+ "kind": "js",
171
+ "name": "SigveloOlCircle",
172
+ "declaration": {
173
+ "name": "SigveloOlCircle",
174
+ "module": "src/components/circle/circle.ts"
175
+ }
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "kind": "javascript-module",
181
+ "path": "src/components/control/control.ts",
182
+ "declarations": [
183
+ {
184
+ "kind": "class",
185
+ "description": "A generic control container for an OpenLayers map. Wraps arbitrary content\nand adds it as an OL control, positioned in a map corner.",
186
+ "name": "SigveloOlControl",
187
+ "members": [
188
+ {
189
+ "kind": "field",
190
+ "name": "position",
191
+ "type": {
192
+ "text": "ControlPosition"
193
+ },
194
+ "default": "\"bottom-left\"",
195
+ "description": "Position of the control on the map.",
196
+ "attribute": "position",
197
+ "parsedType": {
198
+ "text": "'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'"
199
+ }
200
+ }
201
+ ],
202
+ "attributes": [
203
+ {
204
+ "name": "position",
205
+ "type": {
206
+ "text": "ControlPosition"
207
+ },
208
+ "default": "\"bottom-left\"",
209
+ "description": "Position of the control on the map.",
210
+ "fieldName": "position",
211
+ "parsedType": {
212
+ "text": "'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'"
213
+ }
214
+ }
215
+ ],
216
+ "superclass": {
217
+ "name": "LitElement",
218
+ "package": "lit"
219
+ },
220
+ "tagName": "sigvelo-ol-control",
221
+ "customElement": true,
222
+ "modulePath": "src/components/control/control.ts",
223
+ "definitionPath": "src/components/control/control.ts"
224
+ }
225
+ ],
226
+ "exports": [
227
+ {
228
+ "kind": "custom-element-definition",
229
+ "name": "sigvelo-ol-control",
230
+ "declaration": {
231
+ "name": "SigveloOlControl",
232
+ "module": "src/components/control/control.ts"
233
+ }
234
+ },
235
+ {
236
+ "kind": "js",
237
+ "name": "SigveloOlControl",
238
+ "declaration": {
239
+ "name": "SigveloOlControl",
240
+ "module": "src/components/control/control.ts"
241
+ }
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "kind": "javascript-module",
247
+ "path": "src/components/geojson/geojson.ts",
248
+ "declarations": [
249
+ {
250
+ "kind": "class",
251
+ "description": "Renders GeoJSON data on an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.",
252
+ "name": "SigveloOlGeojson",
253
+ "members": [
254
+ {
255
+ "kind": "field",
256
+ "name": "channel",
257
+ "type": {
258
+ "text": "string"
259
+ },
260
+ "default": "\"\"",
261
+ "description": "Channel name for auto-syncing with a classify panel.",
262
+ "attribute": "channel"
263
+ },
264
+ {
265
+ "kind": "field",
266
+ "name": "circleRadius",
267
+ "type": {
268
+ "text": "number"
269
+ },
270
+ "default": "6",
271
+ "description": "Radius of circle markers for Point geometries.",
272
+ "attribute": "circle-radius"
273
+ },
274
+ {
275
+ "kind": "field",
276
+ "name": "data",
277
+ "type": {
278
+ "text": "GeoJsonData | null"
279
+ },
280
+ "default": "null",
281
+ "description": "GeoJSON data. Set via property."
282
+ },
283
+ {
284
+ "kind": "field",
285
+ "name": "fillColor",
286
+ "type": {
287
+ "text": "string"
288
+ },
289
+ "default": "\"#3388ff\"",
290
+ "description": "Fill color (CSS color string).",
291
+ "attribute": "fill-color"
292
+ },
293
+ {
294
+ "kind": "field",
295
+ "name": "fillOpacity",
296
+ "type": {
297
+ "text": "number"
298
+ },
299
+ "default": "0.2",
300
+ "description": "Fill opacity (0-1).",
301
+ "attribute": "fill-opacity"
302
+ },
303
+ {
304
+ "kind": "field",
305
+ "name": "interactive",
306
+ "type": {
307
+ "text": "boolean"
308
+ },
309
+ "default": "true",
310
+ "description": "Whether features are clickable.",
311
+ "attribute": "interactive"
312
+ },
313
+ {
314
+ "kind": "field",
315
+ "name": "strokeColor",
316
+ "type": {
317
+ "text": "string"
318
+ },
319
+ "default": "\"#3388ff\"",
320
+ "description": "Stroke color (CSS color string).",
321
+ "attribute": "stroke-color"
322
+ },
323
+ {
324
+ "kind": "field",
325
+ "name": "strokeWidth",
326
+ "type": {
327
+ "text": "number"
328
+ },
329
+ "default": "2",
330
+ "description": "Stroke width in pixels.",
331
+ "attribute": "stroke-width"
332
+ },
333
+ {
334
+ "kind": "field",
335
+ "name": "styleFunction",
336
+ "type": {
337
+ "text": "StyleFunction | null"
338
+ },
339
+ "default": "null",
340
+ "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."
341
+ }
342
+ ],
343
+ "events": [
344
+ {
345
+ "description": "Fired when a GeoJSON feature is clicked.",
346
+ "name": "sigvelo-feature-click"
347
+ }
348
+ ],
349
+ "attributes": [
350
+ {
351
+ "name": "channel",
352
+ "type": {
353
+ "text": "string"
354
+ },
355
+ "default": "\"\"",
356
+ "description": "Channel name for auto-syncing with a classify panel.",
357
+ "fieldName": "channel"
358
+ },
359
+ {
360
+ "name": "circle-radius",
361
+ "type": {
362
+ "text": "number"
363
+ },
364
+ "default": "6",
365
+ "description": "Radius of circle markers for Point geometries.",
366
+ "fieldName": "circleRadius"
367
+ },
368
+ {
369
+ "name": "fill-color",
370
+ "type": {
371
+ "text": "string"
372
+ },
373
+ "default": "\"#3388ff\"",
374
+ "description": "Fill color (CSS color string).",
375
+ "fieldName": "fillColor"
376
+ },
377
+ {
378
+ "name": "fill-opacity",
379
+ "type": {
380
+ "text": "number"
381
+ },
382
+ "default": "0.2",
383
+ "description": "Fill opacity (0-1).",
384
+ "fieldName": "fillOpacity"
385
+ },
386
+ {
387
+ "name": "interactive",
388
+ "type": {
389
+ "text": "boolean"
390
+ },
391
+ "default": "true",
392
+ "description": "Whether features are clickable.",
393
+ "fieldName": "interactive"
394
+ },
395
+ {
396
+ "name": "stroke-color",
397
+ "type": {
398
+ "text": "string"
399
+ },
400
+ "default": "\"#3388ff\"",
401
+ "description": "Stroke color (CSS color string).",
402
+ "fieldName": "strokeColor"
403
+ },
404
+ {
405
+ "name": "stroke-width",
406
+ "type": {
407
+ "text": "number"
408
+ },
409
+ "default": "2",
410
+ "description": "Stroke width in pixels.",
411
+ "fieldName": "strokeWidth"
412
+ }
413
+ ],
414
+ "superclass": {
415
+ "name": "LitElement",
416
+ "package": "lit"
417
+ },
418
+ "tagName": "sigvelo-ol-geojson",
419
+ "customElement": true,
420
+ "modulePath": "src/components/geojson/geojson.ts",
421
+ "definitionPath": "src/components/geojson/geojson.ts"
422
+ }
423
+ ],
424
+ "exports": [
425
+ {
426
+ "kind": "custom-element-definition",
427
+ "name": "sigvelo-ol-geojson",
428
+ "declaration": {
429
+ "name": "SigveloOlGeojson",
430
+ "module": "src/components/geojson/geojson.ts"
431
+ }
432
+ },
433
+ {
434
+ "kind": "js",
435
+ "name": "SigveloOlGeojson",
436
+ "declaration": {
437
+ "name": "SigveloOlGeojson",
438
+ "module": "src/components/geojson/geojson.ts"
439
+ }
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ "kind": "javascript-module",
445
+ "path": "src/components/map/map.ts",
446
+ "declarations": [
447
+ {
448
+ "kind": "class",
449
+ "description": "An OpenLayers map component. Add tile layers, vector layers, and overlays\nas children of this component.",
450
+ "name": "SigveloOlMap",
451
+ "members": [
452
+ {
453
+ "kind": "method",
454
+ "name": "createMap",
455
+ "privacy": "protected",
456
+ "parameters": [
457
+ {
458
+ "name": "container",
459
+ "type": {
460
+ "text": "HTMLElement"
461
+ }
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "kind": "method",
467
+ "name": "destroyMap",
468
+ "privacy": "protected"
469
+ },
470
+ {
471
+ "kind": "method",
472
+ "name": "fitBounds",
473
+ "privacy": "public",
474
+ "parameters": [
475
+ {
476
+ "name": "options",
477
+ "type": {
478
+ "text": "FitBoundsOptions"
479
+ }
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "kind": "method",
485
+ "name": "flyTo",
486
+ "privacy": "public",
487
+ "parameters": [
488
+ {
489
+ "name": "options",
490
+ "type": {
491
+ "text": "FlyToOptions"
492
+ }
493
+ }
494
+ ]
495
+ },
496
+ {
497
+ "kind": "method",
498
+ "name": "invalidateSize",
499
+ "privacy": "protected"
500
+ },
501
+ {
502
+ "kind": "field",
503
+ "name": "map",
504
+ "type": {
505
+ "text": "OlMap | null"
506
+ },
507
+ "privacy": "public",
508
+ "description": "Access the underlying OpenLayers map instance (after mapReady resolves).",
509
+ "readonly": true
510
+ },
511
+ {
512
+ "kind": "method",
513
+ "name": "updateView",
514
+ "privacy": "protected",
515
+ "parameters": [
516
+ {
517
+ "name": "changed",
518
+ "type": {
519
+ "text": "PropertyValues"
520
+ }
521
+ }
522
+ ]
523
+ },
524
+ {
525
+ "kind": "field",
526
+ "name": "view",
527
+ "type": {
528
+ "text": "View | null"
529
+ },
530
+ "privacy": "public",
531
+ "description": "Access the underlying OpenLayers view instance.",
532
+ "readonly": true
533
+ }
534
+ ],
535
+ "events": [
536
+ {
537
+ "description": "Fired when the map is clicked.",
538
+ "name": "sigvelo-map-click"
539
+ },
540
+ {
541
+ "description": "Fired when the map finishes loading.",
542
+ "name": "sigvelo-map-load"
543
+ },
544
+ {
545
+ "description": "Fired while the map center is changing.",
546
+ "name": "sigvelo-map-move"
547
+ },
548
+ {
549
+ "description": "Fired when map movement ends.",
550
+ "name": "sigvelo-map-moveend"
551
+ },
552
+ {
553
+ "description": "Fired while the zoom level is changing.",
554
+ "name": "sigvelo-map-zoom"
555
+ },
556
+ {
557
+ "description": "Fired when zooming ends.",
558
+ "name": "sigvelo-map-zoomend"
559
+ }
560
+ ],
561
+ "superclass": {
562
+ "name": "GeoMapElement",
563
+ "package": "@mcp-b/geo-support/base/geo-map-element"
564
+ },
565
+ "tagName": "sigvelo-ol-map",
566
+ "customElement": true,
567
+ "modulePath": "src/components/map/map.ts",
568
+ "definitionPath": "src/components/map/map.ts"
569
+ }
570
+ ],
571
+ "exports": [
572
+ {
573
+ "kind": "custom-element-definition",
574
+ "name": "sigvelo-ol-map",
575
+ "declaration": {
576
+ "name": "SigveloOlMap",
577
+ "module": "src/components/map/map.ts"
578
+ }
579
+ },
580
+ {
581
+ "kind": "js",
582
+ "name": "SigveloOlMap",
583
+ "declaration": {
584
+ "name": "SigveloOlMap",
585
+ "module": "src/components/map/map.ts"
586
+ }
587
+ }
588
+ ]
589
+ },
590
+ {
591
+ "kind": "javascript-module",
592
+ "path": "src/components/marker/marker.ts",
593
+ "declarations": [
594
+ {
595
+ "kind": "class",
596
+ "description": "A marker on an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.\nRenders a default pin icon at the specified coordinates. Nest a\n`<sigvelo-ol-popup>` inside for popup content on click.",
597
+ "name": "SigveloOlMarker",
598
+ "slots": [
599
+ {
600
+ "description": "Optional popup content.",
601
+ "name": ""
602
+ }
603
+ ],
604
+ "members": [
605
+ {
606
+ "kind": "field",
607
+ "name": "color",
608
+ "type": {
609
+ "text": "string"
610
+ },
611
+ "default": "\"#3fb1ce\"",
612
+ "description": "Marker color (CSS color string).",
613
+ "attribute": "color"
614
+ },
615
+ {
616
+ "kind": "field",
617
+ "name": "latitude",
618
+ "type": {
619
+ "text": "number"
620
+ },
621
+ "default": "0",
622
+ "description": "Center latitude.",
623
+ "attribute": "latitude"
624
+ },
625
+ {
626
+ "kind": "field",
627
+ "name": "longitude",
628
+ "type": {
629
+ "text": "number"
630
+ },
631
+ "default": "0",
632
+ "description": "Center longitude.",
633
+ "attribute": "longitude"
634
+ },
635
+ {
636
+ "kind": "field",
637
+ "name": "title",
638
+ "type": {
639
+ "text": "string"
640
+ },
641
+ "default": "\"\"",
642
+ "description": "Title attribute (shows on hover).",
643
+ "attribute": "title"
644
+ }
645
+ ],
646
+ "attributes": [
647
+ {
648
+ "name": "color",
649
+ "type": {
650
+ "text": "string"
651
+ },
652
+ "default": "\"#3fb1ce\"",
653
+ "description": "Marker color (CSS color string).",
654
+ "fieldName": "color"
655
+ },
656
+ {
657
+ "name": "latitude",
658
+ "type": {
659
+ "text": "number"
660
+ },
661
+ "default": "0",
662
+ "description": "Center latitude.",
663
+ "fieldName": "latitude"
664
+ },
665
+ {
666
+ "name": "longitude",
667
+ "type": {
668
+ "text": "number"
669
+ },
670
+ "default": "0",
671
+ "description": "Center longitude.",
672
+ "fieldName": "longitude"
673
+ },
674
+ {
675
+ "name": "title",
676
+ "type": {
677
+ "text": "string"
678
+ },
679
+ "default": "\"\"",
680
+ "description": "Title attribute (shows on hover).",
681
+ "fieldName": "title"
682
+ }
683
+ ],
684
+ "superclass": {
685
+ "name": "LitElement",
686
+ "package": "lit"
687
+ },
688
+ "tagName": "sigvelo-ol-marker",
689
+ "customElement": true,
690
+ "modulePath": "src/components/marker/marker.ts",
691
+ "definitionPath": "src/components/marker/marker.ts"
692
+ }
693
+ ],
694
+ "exports": [
695
+ {
696
+ "kind": "custom-element-definition",
697
+ "name": "sigvelo-ol-marker",
698
+ "declaration": {
699
+ "name": "SigveloOlMarker",
700
+ "module": "src/components/marker/marker.ts"
701
+ }
702
+ },
703
+ {
704
+ "kind": "js",
705
+ "name": "SigveloOlMarker",
706
+ "declaration": {
707
+ "name": "SigveloOlMarker",
708
+ "module": "src/components/marker/marker.ts"
709
+ }
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "kind": "javascript-module",
715
+ "path": "src/components/overlay/overlay.ts",
716
+ "declarations": [
717
+ {
718
+ "kind": "class",
719
+ "description": "An overlay (marker/popup anchor) on an OpenLayers map.\nMust be a child of `<sigvelo-ol-map>`. Slotted content is placed\nat the specified coordinates on the map.",
720
+ "name": "SigveloOlOverlay",
721
+ "slots": [
722
+ {
723
+ "description": "Overlay content (marker icon, popup, etc.).",
724
+ "name": ""
725
+ }
726
+ ],
727
+ "members": [
728
+ {
729
+ "kind": "field",
730
+ "name": "latitude",
731
+ "type": {
732
+ "text": "number"
733
+ },
734
+ "default": "0",
735
+ "description": "Center latitude.",
736
+ "attribute": "latitude"
737
+ },
738
+ {
739
+ "kind": "field",
740
+ "name": "longitude",
741
+ "type": {
742
+ "text": "number"
743
+ },
744
+ "default": "0",
745
+ "description": "Center longitude.",
746
+ "attribute": "longitude"
747
+ },
748
+ {
749
+ "kind": "field",
750
+ "name": "positioning",
751
+ "type": {
752
+ "text": "string"
753
+ },
754
+ "default": "\"bottom-center\"",
755
+ "description": "Positioning of the overlay relative to its coordinate.",
756
+ "attribute": "positioning"
757
+ }
758
+ ],
759
+ "attributes": [
760
+ {
761
+ "name": "latitude",
762
+ "type": {
763
+ "text": "number"
764
+ },
765
+ "default": "0",
766
+ "description": "Center latitude.",
767
+ "fieldName": "latitude"
768
+ },
769
+ {
770
+ "name": "longitude",
771
+ "type": {
772
+ "text": "number"
773
+ },
774
+ "default": "0",
775
+ "description": "Center longitude.",
776
+ "fieldName": "longitude"
777
+ },
778
+ {
779
+ "name": "positioning",
780
+ "type": {
781
+ "text": "string"
782
+ },
783
+ "default": "\"bottom-center\"",
784
+ "description": "Positioning of the overlay relative to its coordinate.",
785
+ "fieldName": "positioning"
786
+ }
787
+ ],
788
+ "superclass": {
789
+ "name": "LitElement",
790
+ "package": "lit"
791
+ },
792
+ "tagName": "sigvelo-ol-overlay",
793
+ "customElement": true,
794
+ "modulePath": "src/components/overlay/overlay.ts",
795
+ "definitionPath": "src/components/overlay/overlay.ts"
796
+ }
797
+ ],
798
+ "exports": [
799
+ {
800
+ "kind": "custom-element-definition",
801
+ "name": "sigvelo-ol-overlay",
802
+ "declaration": {
803
+ "name": "SigveloOlOverlay",
804
+ "module": "src/components/overlay/overlay.ts"
805
+ }
806
+ },
807
+ {
808
+ "kind": "js",
809
+ "name": "SigveloOlOverlay",
810
+ "declaration": {
811
+ "name": "SigveloOlOverlay",
812
+ "module": "src/components/overlay/overlay.ts"
813
+ }
814
+ }
815
+ ]
816
+ },
817
+ {
818
+ "kind": "javascript-module",
819
+ "path": "src/components/polygon/polygon.ts",
820
+ "declarations": [
821
+ {
822
+ "kind": "class",
823
+ "description": "A polygon overlay on an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.",
824
+ "name": "SigveloOlPolygon",
825
+ "members": [
826
+ {
827
+ "kind": "field",
828
+ "name": "fillColor",
829
+ "type": {
830
+ "text": "string"
831
+ },
832
+ "default": "\"#3388ff\"",
833
+ "description": "Fill color (CSS color string).",
834
+ "attribute": "fill-color"
835
+ },
836
+ {
837
+ "kind": "field",
838
+ "name": "fillOpacity",
839
+ "type": {
840
+ "text": "number"
841
+ },
842
+ "default": "0.2",
843
+ "description": "Fill opacity (0-1).",
844
+ "attribute": "fill-opacity"
845
+ },
846
+ {
847
+ "kind": "field",
848
+ "name": "positions",
849
+ "type": {
850
+ "text": "Array<[number, number]>"
851
+ },
852
+ "default": "[]",
853
+ "description": "Array of [lat, lng] coordinate pairs forming the polygon. Set via property."
854
+ },
855
+ {
856
+ "kind": "field",
857
+ "name": "strokeColor",
858
+ "type": {
859
+ "text": "string"
860
+ },
861
+ "default": "\"#3388ff\"",
862
+ "description": "Stroke color (CSS color string).",
863
+ "attribute": "stroke-color"
864
+ },
865
+ {
866
+ "kind": "field",
867
+ "name": "strokeWidth",
868
+ "type": {
869
+ "text": "number"
870
+ },
871
+ "default": "2",
872
+ "description": "Stroke width in pixels.",
873
+ "attribute": "stroke-width"
874
+ }
875
+ ],
876
+ "attributes": [
877
+ {
878
+ "name": "fill-color",
879
+ "type": {
880
+ "text": "string"
881
+ },
882
+ "default": "\"#3388ff\"",
883
+ "description": "Fill color (CSS color string).",
884
+ "fieldName": "fillColor"
885
+ },
886
+ {
887
+ "name": "fill-opacity",
888
+ "type": {
889
+ "text": "number"
890
+ },
891
+ "default": "0.2",
892
+ "description": "Fill opacity (0-1).",
893
+ "fieldName": "fillOpacity"
894
+ },
895
+ {
896
+ "name": "stroke-color",
897
+ "type": {
898
+ "text": "string"
899
+ },
900
+ "default": "\"#3388ff\"",
901
+ "description": "Stroke color (CSS color string).",
902
+ "fieldName": "strokeColor"
903
+ },
904
+ {
905
+ "name": "stroke-width",
906
+ "type": {
907
+ "text": "number"
908
+ },
909
+ "default": "2",
910
+ "description": "Stroke width in pixels.",
911
+ "fieldName": "strokeWidth"
912
+ }
913
+ ],
914
+ "superclass": {
915
+ "name": "LitElement",
916
+ "package": "lit"
917
+ },
918
+ "tagName": "sigvelo-ol-polygon",
919
+ "customElement": true,
920
+ "modulePath": "src/components/polygon/polygon.ts",
921
+ "definitionPath": "src/components/polygon/polygon.ts"
922
+ }
923
+ ],
924
+ "exports": [
925
+ {
926
+ "kind": "custom-element-definition",
927
+ "name": "sigvelo-ol-polygon",
928
+ "declaration": {
929
+ "name": "SigveloOlPolygon",
930
+ "module": "src/components/polygon/polygon.ts"
931
+ }
932
+ },
933
+ {
934
+ "kind": "js",
935
+ "name": "SigveloOlPolygon",
936
+ "declaration": {
937
+ "name": "SigveloOlPolygon",
938
+ "module": "src/components/polygon/polygon.ts"
939
+ }
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "kind": "javascript-module",
945
+ "path": "src/components/polyline/polyline.ts",
946
+ "declarations": [
947
+ {
948
+ "kind": "class",
949
+ "description": "A polyline on an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.",
950
+ "name": "SigveloOlPolyline",
951
+ "members": [
952
+ {
953
+ "kind": "field",
954
+ "name": "color",
955
+ "type": {
956
+ "text": "string"
957
+ },
958
+ "default": "\"#3388ff\"",
959
+ "description": "Line color (CSS color string).",
960
+ "attribute": "color"
961
+ },
962
+ {
963
+ "kind": "field",
964
+ "name": "dashArray",
965
+ "type": {
966
+ "text": "number[]"
967
+ },
968
+ "default": "[]",
969
+ "description": "Dash pattern (e.g. [5, 10]). Set via property."
970
+ },
971
+ {
972
+ "kind": "field",
973
+ "name": "opacity",
974
+ "type": {
975
+ "text": "number"
976
+ },
977
+ "default": "1",
978
+ "description": "Opacity (0-1).",
979
+ "attribute": "opacity"
980
+ },
981
+ {
982
+ "kind": "field",
983
+ "name": "positions",
984
+ "type": {
985
+ "text": "Array<[number, number]>"
986
+ },
987
+ "default": "[]",
988
+ "description": "Array of [lat, lng] coordinate pairs. Set via property."
989
+ },
990
+ {
991
+ "kind": "field",
992
+ "name": "width",
993
+ "type": {
994
+ "text": "number"
995
+ },
996
+ "default": "3",
997
+ "description": "Line width in pixels.",
998
+ "attribute": "width"
999
+ }
1000
+ ],
1001
+ "attributes": [
1002
+ {
1003
+ "name": "color",
1004
+ "type": {
1005
+ "text": "string"
1006
+ },
1007
+ "default": "\"#3388ff\"",
1008
+ "description": "Line color (CSS color string).",
1009
+ "fieldName": "color"
1010
+ },
1011
+ {
1012
+ "name": "opacity",
1013
+ "type": {
1014
+ "text": "number"
1015
+ },
1016
+ "default": "1",
1017
+ "description": "Opacity (0-1).",
1018
+ "fieldName": "opacity"
1019
+ },
1020
+ {
1021
+ "name": "width",
1022
+ "type": {
1023
+ "text": "number"
1024
+ },
1025
+ "default": "3",
1026
+ "description": "Line width in pixels.",
1027
+ "fieldName": "width"
1028
+ }
1029
+ ],
1030
+ "superclass": {
1031
+ "name": "LitElement",
1032
+ "package": "lit"
1033
+ },
1034
+ "tagName": "sigvelo-ol-polyline",
1035
+ "customElement": true,
1036
+ "modulePath": "src/components/polyline/polyline.ts",
1037
+ "definitionPath": "src/components/polyline/polyline.ts"
1038
+ }
1039
+ ],
1040
+ "exports": [
1041
+ {
1042
+ "kind": "custom-element-definition",
1043
+ "name": "sigvelo-ol-polyline",
1044
+ "declaration": {
1045
+ "name": "SigveloOlPolyline",
1046
+ "module": "src/components/polyline/polyline.ts"
1047
+ }
1048
+ },
1049
+ {
1050
+ "kind": "js",
1051
+ "name": "SigveloOlPolyline",
1052
+ "declaration": {
1053
+ "name": "SigveloOlPolyline",
1054
+ "module": "src/components/polyline/polyline.ts"
1055
+ }
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "kind": "javascript-module",
1061
+ "path": "src/components/popup/popup.ts",
1062
+ "declarations": [
1063
+ {
1064
+ "kind": "class",
1065
+ "description": "Popup content for an OpenLayers marker. Nest inside a\n`<sigvelo-ol-marker>` to attach to a marker.\n\nContent is provided via the default slot (Light DOM) so Sigvelo design\ntokens and components render correctly.",
1066
+ "name": "SigveloOlPopup",
1067
+ "slots": [
1068
+ {
1069
+ "description": "Popup content.",
1070
+ "name": ""
1071
+ }
1072
+ ],
1073
+ "members": [
1074
+ {
1075
+ "kind": "field",
1076
+ "name": "maxWidth",
1077
+ "type": {
1078
+ "text": "number"
1079
+ },
1080
+ "default": "300",
1081
+ "description": "Maximum width of the popup in pixels.",
1082
+ "attribute": "max-width"
1083
+ }
1084
+ ],
1085
+ "attributes": [
1086
+ {
1087
+ "name": "max-width",
1088
+ "type": {
1089
+ "text": "number"
1090
+ },
1091
+ "default": "300",
1092
+ "description": "Maximum width of the popup in pixels.",
1093
+ "fieldName": "maxWidth"
1094
+ }
1095
+ ],
1096
+ "superclass": {
1097
+ "name": "LitElement",
1098
+ "package": "lit"
1099
+ },
1100
+ "tagName": "sigvelo-ol-popup",
1101
+ "customElement": true,
1102
+ "modulePath": "src/components/popup/popup.ts",
1103
+ "definitionPath": "src/components/popup/popup.ts"
1104
+ }
1105
+ ],
1106
+ "exports": [
1107
+ {
1108
+ "kind": "custom-element-definition",
1109
+ "name": "sigvelo-ol-popup",
1110
+ "declaration": {
1111
+ "name": "SigveloOlPopup",
1112
+ "module": "src/components/popup/popup.ts"
1113
+ }
1114
+ },
1115
+ {
1116
+ "kind": "js",
1117
+ "name": "SigveloOlPopup",
1118
+ "declaration": {
1119
+ "name": "SigveloOlPopup",
1120
+ "module": "src/components/popup/popup.ts"
1121
+ }
1122
+ }
1123
+ ]
1124
+ },
1125
+ {
1126
+ "kind": "javascript-module",
1127
+ "path": "src/components/scale-control/scale-control.ts",
1128
+ "declarations": [
1129
+ {
1130
+ "kind": "class",
1131
+ "description": "A scale line control for an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.",
1132
+ "name": "SigveloOlScaleControl",
1133
+ "members": [
1134
+ {
1135
+ "kind": "field",
1136
+ "name": "minWidth",
1137
+ "type": {
1138
+ "text": "number"
1139
+ },
1140
+ "default": "64",
1141
+ "description": "Minimum width of the scale bar in pixels.",
1142
+ "attribute": "min-width"
1143
+ },
1144
+ {
1145
+ "kind": "field",
1146
+ "name": "units",
1147
+ "type": {
1148
+ "text": "\"metric\" | \"imperial\" | \"nautical\" | \"us\""
1149
+ },
1150
+ "default": "\"metric\"",
1151
+ "description": "Unit system for the scale bar.",
1152
+ "attribute": "units"
1153
+ }
1154
+ ],
1155
+ "attributes": [
1156
+ {
1157
+ "name": "min-width",
1158
+ "type": {
1159
+ "text": "number"
1160
+ },
1161
+ "default": "64",
1162
+ "description": "Minimum width of the scale bar in pixels.",
1163
+ "fieldName": "minWidth"
1164
+ },
1165
+ {
1166
+ "name": "units",
1167
+ "type": {
1168
+ "text": "\"metric\" | \"imperial\" | \"nautical\" | \"us\""
1169
+ },
1170
+ "default": "\"metric\"",
1171
+ "description": "Unit system for the scale bar.",
1172
+ "fieldName": "units"
1173
+ }
1174
+ ],
1175
+ "superclass": {
1176
+ "name": "LitElement",
1177
+ "package": "lit"
1178
+ },
1179
+ "tagName": "sigvelo-ol-scale-control",
1180
+ "customElement": true,
1181
+ "modulePath": "src/components/scale-control/scale-control.ts",
1182
+ "definitionPath": "src/components/scale-control/scale-control.ts"
1183
+ }
1184
+ ],
1185
+ "exports": [
1186
+ {
1187
+ "kind": "custom-element-definition",
1188
+ "name": "sigvelo-ol-scale-control",
1189
+ "declaration": {
1190
+ "name": "SigveloOlScaleControl",
1191
+ "module": "src/components/scale-control/scale-control.ts"
1192
+ }
1193
+ },
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "SigveloOlScaleControl",
1197
+ "declaration": {
1198
+ "name": "SigveloOlScaleControl",
1199
+ "module": "src/components/scale-control/scale-control.ts"
1200
+ }
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "kind": "javascript-module",
1206
+ "path": "src/components/tilelayer/tilelayer.ts",
1207
+ "declarations": [
1208
+ {
1209
+ "kind": "class",
1210
+ "description": "A tile layer for an OpenLayers map. Must be a child of `<sigvelo-ol-map>`.\nIf no URL is provided, defaults to OpenStreetMap.",
1211
+ "name": "SigveloOlTilelayer",
1212
+ "members": [
1213
+ {
1214
+ "kind": "field",
1215
+ "name": "attribution",
1216
+ "type": {
1217
+ "text": "string"
1218
+ },
1219
+ "default": "\"\"",
1220
+ "description": "Attribution text for this tile layer.",
1221
+ "attribute": "attribution"
1222
+ },
1223
+ {
1224
+ "kind": "field",
1225
+ "name": "opacity",
1226
+ "type": {
1227
+ "text": "number"
1228
+ },
1229
+ "default": "1",
1230
+ "description": "Opacity of the tile layer (0-1).",
1231
+ "attribute": "opacity"
1232
+ },
1233
+ {
1234
+ "kind": "field",
1235
+ "name": "url",
1236
+ "type": {
1237
+ "text": "string"
1238
+ },
1239
+ "default": "\"\"",
1240
+ "description": "URL template for tiles. Leave empty for OpenStreetMap default.",
1241
+ "attribute": "url"
1242
+ }
1243
+ ],
1244
+ "attributes": [
1245
+ {
1246
+ "name": "attribution",
1247
+ "type": {
1248
+ "text": "string"
1249
+ },
1250
+ "default": "\"\"",
1251
+ "description": "Attribution text for this tile layer.",
1252
+ "fieldName": "attribution"
1253
+ },
1254
+ {
1255
+ "name": "opacity",
1256
+ "type": {
1257
+ "text": "number"
1258
+ },
1259
+ "default": "1",
1260
+ "description": "Opacity of the tile layer (0-1).",
1261
+ "fieldName": "opacity"
1262
+ },
1263
+ {
1264
+ "name": "url",
1265
+ "type": {
1266
+ "text": "string"
1267
+ },
1268
+ "default": "\"\"",
1269
+ "description": "URL template for tiles. Leave empty for OpenStreetMap default.",
1270
+ "fieldName": "url"
1271
+ }
1272
+ ],
1273
+ "superclass": {
1274
+ "name": "LitElement",
1275
+ "package": "lit"
1276
+ },
1277
+ "tagName": "sigvelo-ol-tilelayer",
1278
+ "customElement": true,
1279
+ "modulePath": "src/components/tilelayer/tilelayer.ts",
1280
+ "definitionPath": "src/components/tilelayer/tilelayer.ts"
1281
+ }
1282
+ ],
1283
+ "exports": [
1284
+ {
1285
+ "kind": "custom-element-definition",
1286
+ "name": "sigvelo-ol-tilelayer",
1287
+ "declaration": {
1288
+ "name": "SigveloOlTilelayer",
1289
+ "module": "src/components/tilelayer/tilelayer.ts"
1290
+ }
1291
+ },
1292
+ {
1293
+ "kind": "js",
1294
+ "name": "SigveloOlTilelayer",
1295
+ "declaration": {
1296
+ "name": "SigveloOlTilelayer",
1297
+ "module": "src/components/tilelayer/tilelayer.ts"
1298
+ }
1299
+ }
1300
+ ]
1301
+ },
1302
+ {
1303
+ "kind": "javascript-module",
1304
+ "path": "src/index.ts",
1305
+ "declarations": [],
1306
+ "exports": [
1307
+ {
1308
+ "kind": "js",
1309
+ "name": "*",
1310
+ "declaration": {
1311
+ "name": "*",
1312
+ "module": "src/components/map/map.js"
1313
+ }
1314
+ },
1315
+ {
1316
+ "kind": "js",
1317
+ "name": "*",
1318
+ "declaration": {
1319
+ "name": "*",
1320
+ "module": "src/components/tilelayer/tilelayer.js"
1321
+ }
1322
+ },
1323
+ {
1324
+ "kind": "js",
1325
+ "name": "*",
1326
+ "declaration": {
1327
+ "name": "*",
1328
+ "module": "src/components/marker/marker.js"
1329
+ }
1330
+ },
1331
+ {
1332
+ "kind": "js",
1333
+ "name": "*",
1334
+ "declaration": {
1335
+ "name": "*",
1336
+ "module": "src/components/popup/popup.js"
1337
+ }
1338
+ },
1339
+ {
1340
+ "kind": "js",
1341
+ "name": "*",
1342
+ "declaration": {
1343
+ "name": "*",
1344
+ "module": "src/components/overlay/overlay.js"
1345
+ }
1346
+ },
1347
+ {
1348
+ "kind": "js",
1349
+ "name": "*",
1350
+ "declaration": {
1351
+ "name": "*",
1352
+ "module": "src/components/geojson/geojson.js"
1353
+ }
1354
+ },
1355
+ {
1356
+ "kind": "js",
1357
+ "name": "*",
1358
+ "declaration": {
1359
+ "name": "*",
1360
+ "module": "src/components/circle/circle.js"
1361
+ }
1362
+ },
1363
+ {
1364
+ "kind": "js",
1365
+ "name": "*",
1366
+ "declaration": {
1367
+ "name": "*",
1368
+ "module": "src/components/polyline/polyline.js"
1369
+ }
1370
+ },
1371
+ {
1372
+ "kind": "js",
1373
+ "name": "*",
1374
+ "declaration": {
1375
+ "name": "*",
1376
+ "module": "src/components/polygon/polygon.js"
1377
+ }
1378
+ },
1379
+ {
1380
+ "kind": "js",
1381
+ "name": "*",
1382
+ "declaration": {
1383
+ "name": "*",
1384
+ "module": "src/components/scale-control/scale-control.js"
1385
+ }
1386
+ },
1387
+ {
1388
+ "kind": "js",
1389
+ "name": "*",
1390
+ "declaration": {
1391
+ "name": "*",
1392
+ "module": "src/components/control/control.js"
1393
+ }
1394
+ }
1395
+ ]
1396
+ }
1397
+ ],
1398
+ "package": {
1399
+ "name": "@mcp-b/geo-openlayers",
1400
+ "description": "OpenLayers web components for Sigvelo, built with Lit.",
1401
+ "version": "0.2.0",
1402
+ "license": "MIT"
1403
+ }
1404
+ }