@openremote/or-map 1.6.0-snapshot.20250512145140 → 1.6.0-snapshot.20250512155842

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.
@@ -0,0 +1,2825 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "OrMapLoadedEvent",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "NAME",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "privacy": "public",
21
+ "static": true,
22
+ "readonly": true,
23
+ "default": "\"or-map-loaded\""
24
+ }
25
+ ],
26
+ "superclass": {
27
+ "name": "CustomEvent",
28
+ "module": "src/index.ts"
29
+ }
30
+ },
31
+ {
32
+ "kind": "class",
33
+ "description": "",
34
+ "name": "OrMapClickedEvent",
35
+ "members": [
36
+ {
37
+ "kind": "field",
38
+ "name": "NAME",
39
+ "type": {
40
+ "text": "string"
41
+ },
42
+ "privacy": "public",
43
+ "static": true,
44
+ "readonly": true,
45
+ "default": "\"or-map-clicked\""
46
+ }
47
+ ],
48
+ "superclass": {
49
+ "name": "CustomEvent",
50
+ "module": "src/index.ts"
51
+ }
52
+ },
53
+ {
54
+ "kind": "class",
55
+ "description": "",
56
+ "name": "OrMapLongPressEvent",
57
+ "members": [
58
+ {
59
+ "kind": "field",
60
+ "name": "NAME",
61
+ "type": {
62
+ "text": "string"
63
+ },
64
+ "privacy": "public",
65
+ "static": true,
66
+ "readonly": true,
67
+ "default": "\"or-map-long-press\""
68
+ }
69
+ ],
70
+ "superclass": {
71
+ "name": "CustomEvent",
72
+ "module": "src/index.ts"
73
+ }
74
+ },
75
+ {
76
+ "kind": "class",
77
+ "description": "",
78
+ "name": "OrMapGeocoderChangeEvent",
79
+ "members": [
80
+ {
81
+ "kind": "field",
82
+ "name": "NAME",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "privacy": "public",
87
+ "static": true,
88
+ "readonly": true,
89
+ "default": "\"or-map-geocoder-change\""
90
+ }
91
+ ],
92
+ "superclass": {
93
+ "name": "CustomEvent",
94
+ "module": "src/index.ts"
95
+ }
96
+ },
97
+ {
98
+ "kind": "class",
99
+ "description": "",
100
+ "name": "CenterControl",
101
+ "members": [
102
+ {
103
+ "kind": "field",
104
+ "name": "map",
105
+ "type": {
106
+ "text": "MapGL | undefined"
107
+ },
108
+ "privacy": "protected"
109
+ },
110
+ {
111
+ "kind": "field",
112
+ "name": "elem",
113
+ "type": {
114
+ "text": "HTMLElement | undefined"
115
+ },
116
+ "privacy": "protected"
117
+ },
118
+ {
119
+ "kind": "field",
120
+ "name": "pos",
121
+ "type": {
122
+ "text": "LngLatLike | undefined"
123
+ },
124
+ "privacy": "public"
125
+ },
126
+ {
127
+ "kind": "method",
128
+ "name": "onAdd",
129
+ "return": {
130
+ "type": {
131
+ "text": "HTMLElement"
132
+ }
133
+ },
134
+ "parameters": [
135
+ {
136
+ "name": "map",
137
+ "type": {
138
+ "text": "MapGL"
139
+ }
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "kind": "method",
145
+ "name": "onRemove",
146
+ "parameters": [
147
+ {
148
+ "name": "map",
149
+ "type": {
150
+ "text": "MapGL"
151
+ }
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "kind": "class",
159
+ "description": "",
160
+ "name": "CoordinatesControl",
161
+ "members": [
162
+ {
163
+ "kind": "field",
164
+ "name": "map",
165
+ "type": {
166
+ "text": "MapGL | undefined"
167
+ },
168
+ "privacy": "protected"
169
+ },
170
+ {
171
+ "kind": "field",
172
+ "name": "elem",
173
+ "type": {
174
+ "text": "HTMLElement | undefined"
175
+ },
176
+ "privacy": "protected"
177
+ },
178
+ {
179
+ "kind": "field",
180
+ "name": "input",
181
+ "type": {
182
+ "text": "OrMwcInput"
183
+ },
184
+ "privacy": "protected"
185
+ },
186
+ {
187
+ "kind": "field",
188
+ "name": "_readonly",
189
+ "type": {
190
+ "text": "boolean"
191
+ },
192
+ "privacy": "protected",
193
+ "default": "!!(options && options.disabled)"
194
+ },
195
+ {
196
+ "kind": "field",
197
+ "name": "_value",
198
+ "type": {
199
+ "text": "any"
200
+ },
201
+ "privacy": "protected"
202
+ },
203
+ {
204
+ "kind": "field",
205
+ "name": "_valueChangedHandler",
206
+ "type": {
207
+ "text": "(value: LngLat | undefined) => void"
208
+ },
209
+ "privacy": "protected",
210
+ "default": "valueChangedHandler"
211
+ },
212
+ {
213
+ "kind": "method",
214
+ "name": "onAdd",
215
+ "return": {
216
+ "type": {
217
+ "text": "HTMLElement"
218
+ }
219
+ },
220
+ "parameters": [
221
+ {
222
+ "name": "map",
223
+ "type": {
224
+ "text": "MapGL"
225
+ }
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "kind": "method",
231
+ "name": "onRemove",
232
+ "parameters": [
233
+ {
234
+ "name": "map",
235
+ "type": {
236
+ "text": "MapGL"
237
+ }
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "readonly",
244
+ "privacy": "public"
245
+ },
246
+ {
247
+ "kind": "field",
248
+ "name": "value",
249
+ "privacy": "public"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "kind": "function",
255
+ "name": "geoJsonPointInputTemplateProvider",
256
+ "parameters": [
257
+ {
258
+ "name": "assetDescriptor"
259
+ },
260
+ {
261
+ "name": "valueHolder"
262
+ },
263
+ {
264
+ "name": "valueHolderDescriptor"
265
+ },
266
+ {
267
+ "name": "valueDescriptor"
268
+ },
269
+ {
270
+ "name": "valueChangeNotifier"
271
+ },
272
+ {
273
+ "name": "options"
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "kind": "class",
279
+ "description": "",
280
+ "name": "OrMap",
281
+ "members": [
282
+ {
283
+ "kind": "field",
284
+ "name": "styles",
285
+ "privacy": "public",
286
+ "static": true,
287
+ "default": "style"
288
+ },
289
+ {
290
+ "kind": "field",
291
+ "name": "type",
292
+ "type": {
293
+ "text": "MapType"
294
+ },
295
+ "privacy": "public"
296
+ },
297
+ {
298
+ "kind": "field",
299
+ "name": "_markerStyles",
300
+ "type": {
301
+ "text": "string[]"
302
+ },
303
+ "privacy": "protected",
304
+ "default": "[]"
305
+ },
306
+ {
307
+ "kind": "field",
308
+ "name": "center",
309
+ "type": {
310
+ "text": "LngLatLike | undefined"
311
+ },
312
+ "privacy": "public"
313
+ },
314
+ {
315
+ "kind": "field",
316
+ "name": "zoom",
317
+ "type": {
318
+ "text": "number | undefined"
319
+ },
320
+ "privacy": "public"
321
+ },
322
+ {
323
+ "kind": "field",
324
+ "name": "showGeoCodingControl",
325
+ "type": {
326
+ "text": "boolean"
327
+ },
328
+ "privacy": "public",
329
+ "default": "false"
330
+ },
331
+ {
332
+ "kind": "field",
333
+ "name": "showBoundaryBoxControl",
334
+ "type": {
335
+ "text": "boolean"
336
+ },
337
+ "privacy": "public",
338
+ "default": "false"
339
+ },
340
+ {
341
+ "kind": "field",
342
+ "name": "useZoomControl",
343
+ "type": {
344
+ "text": "boolean"
345
+ },
346
+ "privacy": "public",
347
+ "default": "true"
348
+ },
349
+ {
350
+ "kind": "field",
351
+ "name": "geoJson",
352
+ "type": {
353
+ "text": "GeoJsonConfig | undefined"
354
+ },
355
+ "privacy": "public"
356
+ },
357
+ {
358
+ "kind": "field",
359
+ "name": "showGeoJson",
360
+ "type": {
361
+ "text": "boolean"
362
+ },
363
+ "privacy": "public",
364
+ "default": "true"
365
+ },
366
+ {
367
+ "kind": "field",
368
+ "name": "boundary",
369
+ "type": {
370
+ "text": "string[]"
371
+ },
372
+ "privacy": "public",
373
+ "default": "[]"
374
+ },
375
+ {
376
+ "kind": "field",
377
+ "name": "controls",
378
+ "type": {
379
+ "text": "(IControl | [IControl, ControlPosition?])[] | undefined"
380
+ },
381
+ "privacy": "public"
382
+ },
383
+ {
384
+ "kind": "field",
385
+ "name": "_initCallback",
386
+ "type": {
387
+ "text": "EventCallback | undefined"
388
+ },
389
+ "privacy": "protected"
390
+ },
391
+ {
392
+ "kind": "field",
393
+ "name": "_map",
394
+ "type": {
395
+ "text": "MapWidget | undefined"
396
+ },
397
+ "privacy": "protected"
398
+ },
399
+ {
400
+ "kind": "field",
401
+ "name": "_loaded",
402
+ "type": {
403
+ "text": "boolean"
404
+ },
405
+ "privacy": "protected",
406
+ "default": "false"
407
+ },
408
+ {
409
+ "kind": "field",
410
+ "name": "_observer",
411
+ "type": {
412
+ "text": "FlattenedNodesObserver | undefined"
413
+ },
414
+ "privacy": "protected"
415
+ },
416
+ {
417
+ "kind": "field",
418
+ "name": "_markers",
419
+ "type": {
420
+ "text": "OrMapMarker[]"
421
+ },
422
+ "privacy": "protected",
423
+ "default": "[]"
424
+ },
425
+ {
426
+ "kind": "field",
427
+ "name": "_resizeObserver",
428
+ "type": {
429
+ "text": "ResizeObserver | undefined"
430
+ },
431
+ "privacy": "protected"
432
+ },
433
+ {
434
+ "kind": "field",
435
+ "name": "_mapContainer",
436
+ "type": {
437
+ "text": "HTMLElement | undefined"
438
+ },
439
+ "privacy": "protected"
440
+ },
441
+ {
442
+ "kind": "field",
443
+ "name": "_slotElement",
444
+ "type": {
445
+ "text": "HTMLSlotElement | undefined"
446
+ },
447
+ "privacy": "protected"
448
+ },
449
+ {
450
+ "kind": "method",
451
+ "name": "firstUpdated",
452
+ "privacy": "protected",
453
+ "return": {
454
+ "type": {
455
+ "text": "void"
456
+ }
457
+ },
458
+ "parameters": [
459
+ {
460
+ "name": "_changedProperties",
461
+ "type": {
462
+ "text": "PropertyValues"
463
+ }
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "kind": "field",
469
+ "name": "markers",
470
+ "type": {
471
+ "text": "OrMapMarker[]"
472
+ },
473
+ "privacy": "public",
474
+ "readonly": true
475
+ },
476
+ {
477
+ "kind": "method",
478
+ "name": "render",
479
+ "privacy": "protected"
480
+ },
481
+ {
482
+ "kind": "method",
483
+ "name": "updated",
484
+ "privacy": "protected",
485
+ "parameters": [
486
+ {
487
+ "name": "changedProperties",
488
+ "type": {
489
+ "text": "PropertyValues"
490
+ }
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "kind": "method",
496
+ "name": "refresh",
497
+ "privacy": "public"
498
+ },
499
+ {
500
+ "kind": "method",
501
+ "name": "loadMap",
502
+ "privacy": "public"
503
+ },
504
+ {
505
+ "kind": "method",
506
+ "name": "resize",
507
+ "privacy": "public"
508
+ },
509
+ {
510
+ "kind": "method",
511
+ "name": "flyTo",
512
+ "privacy": "public",
513
+ "parameters": [
514
+ {
515
+ "name": "coordinates",
516
+ "optional": true,
517
+ "type": {
518
+ "text": "LngLatLike"
519
+ }
520
+ },
521
+ {
522
+ "name": "zoom",
523
+ "optional": true,
524
+ "type": {
525
+ "text": "number"
526
+ }
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "kind": "method",
532
+ "name": "_onMarkerChangedEvent",
533
+ "privacy": "protected",
534
+ "parameters": [
535
+ {
536
+ "name": "evt",
537
+ "type": {
538
+ "text": "OrMapMarkerChangedEvent"
539
+ }
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "kind": "method",
545
+ "name": "_processNewMarkers",
546
+ "privacy": "protected",
547
+ "parameters": [
548
+ {
549
+ "name": "nodes",
550
+ "type": {
551
+ "text": "Element[]"
552
+ }
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "kind": "method",
558
+ "name": "_processRemovedMarkers",
559
+ "privacy": "protected",
560
+ "parameters": [
561
+ {
562
+ "name": "nodes",
563
+ "type": {
564
+ "text": "Element[]"
565
+ }
566
+ }
567
+ ]
568
+ }
569
+ ],
570
+ "superclass": {
571
+ "name": "LitElement",
572
+ "package": "lit"
573
+ },
574
+ "customElement": true
575
+ }
576
+ ],
577
+ "exports": [
578
+ {
579
+ "kind": "js",
580
+ "name": "Util",
581
+ "declaration": {
582
+ "name": "Util",
583
+ "module": "src/index.ts"
584
+ }
585
+ },
586
+ {
587
+ "kind": "js",
588
+ "name": "LngLatLike",
589
+ "declaration": {
590
+ "name": "LngLatLike",
591
+ "module": "src/index.ts"
592
+ }
593
+ },
594
+ {
595
+ "kind": "js",
596
+ "name": "*",
597
+ "declaration": {
598
+ "name": "*",
599
+ "package": "\"./markers/or-map-marker\""
600
+ }
601
+ },
602
+ {
603
+ "kind": "js",
604
+ "name": "*",
605
+ "declaration": {
606
+ "name": "*",
607
+ "package": "\"./markers/or-map-marker-asset\""
608
+ }
609
+ },
610
+ {
611
+ "kind": "js",
612
+ "name": "IControl",
613
+ "declaration": {
614
+ "name": "IControl",
615
+ "module": "\"maplibre-gl\""
616
+ }
617
+ },
618
+ {
619
+ "kind": "js",
620
+ "name": "*",
621
+ "declaration": {
622
+ "name": "*",
623
+ "package": "\"./or-map-asset-card\""
624
+ }
625
+ },
626
+ {
627
+ "kind": "js",
628
+ "name": "OrMapLoadedEvent",
629
+ "declaration": {
630
+ "name": "OrMapLoadedEvent",
631
+ "module": "src/index.ts"
632
+ }
633
+ },
634
+ {
635
+ "kind": "js",
636
+ "name": "OrMapClickedEvent",
637
+ "declaration": {
638
+ "name": "OrMapClickedEvent",
639
+ "module": "src/index.ts"
640
+ }
641
+ },
642
+ {
643
+ "kind": "js",
644
+ "name": "OrMapLongPressEvent",
645
+ "declaration": {
646
+ "name": "OrMapLongPressEvent",
647
+ "module": "src/index.ts"
648
+ }
649
+ },
650
+ {
651
+ "kind": "js",
652
+ "name": "OrMapGeocoderChangeEvent",
653
+ "declaration": {
654
+ "name": "OrMapGeocoderChangeEvent",
655
+ "module": "src/index.ts"
656
+ }
657
+ },
658
+ {
659
+ "kind": "js",
660
+ "name": "CenterControl",
661
+ "declaration": {
662
+ "name": "CenterControl",
663
+ "module": "src/index.ts"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "CoordinatesControl",
669
+ "declaration": {
670
+ "name": "CoordinatesControl",
671
+ "module": "src/index.ts"
672
+ }
673
+ },
674
+ {
675
+ "kind": "js",
676
+ "name": "geoJsonPointInputTemplateProvider",
677
+ "declaration": {
678
+ "name": "geoJsonPointInputTemplateProvider",
679
+ "module": "src/index.ts"
680
+ }
681
+ },
682
+ {
683
+ "kind": "js",
684
+ "name": "OrMap",
685
+ "declaration": {
686
+ "name": "OrMap",
687
+ "module": "src/index.ts"
688
+ }
689
+ }
690
+ ]
691
+ },
692
+ {
693
+ "kind": "javascript-module",
694
+ "path": "src/mapwidget.ts",
695
+ "declarations": [
696
+ {
697
+ "kind": "class",
698
+ "description": "",
699
+ "name": "MapWidget",
700
+ "members": [
701
+ {
702
+ "kind": "field",
703
+ "name": "_mapJs",
704
+ "type": {
705
+ "text": "L.mapbox.Map | undefined"
706
+ },
707
+ "privacy": "protected"
708
+ },
709
+ {
710
+ "kind": "field",
711
+ "name": "_mapGl",
712
+ "type": {
713
+ "text": "MapGL | undefined"
714
+ },
715
+ "privacy": "protected"
716
+ },
717
+ {
718
+ "kind": "field",
719
+ "name": "_type",
720
+ "type": {
721
+ "text": "MapType"
722
+ },
723
+ "privacy": "protected",
724
+ "default": "typeString"
725
+ },
726
+ {
727
+ "kind": "field",
728
+ "name": "_styleParent",
729
+ "type": {
730
+ "text": "Node"
731
+ },
732
+ "privacy": "protected",
733
+ "default": "styleParent"
734
+ },
735
+ {
736
+ "kind": "field",
737
+ "name": "_mapContainer",
738
+ "type": {
739
+ "text": "HTMLElement"
740
+ },
741
+ "privacy": "protected",
742
+ "default": "mapContainer"
743
+ },
744
+ {
745
+ "kind": "field",
746
+ "name": "_loaded",
747
+ "type": {
748
+ "text": "boolean"
749
+ },
750
+ "privacy": "protected",
751
+ "default": "false"
752
+ },
753
+ {
754
+ "kind": "field",
755
+ "name": "_markersJs",
756
+ "type": {
757
+ "text": "Map<OrMapMarker, L.Marker>"
758
+ },
759
+ "privacy": "protected",
760
+ "default": "new Map()"
761
+ },
762
+ {
763
+ "kind": "field",
764
+ "name": "_markersGl",
765
+ "type": {
766
+ "text": "Map<OrMapMarker, MarkerGL>"
767
+ },
768
+ "privacy": "protected",
769
+ "default": "new Map()"
770
+ },
771
+ {
772
+ "kind": "field",
773
+ "name": "_geoJsonConfig",
774
+ "type": {
775
+ "text": "GeoJsonConfig | undefined"
776
+ },
777
+ "privacy": "protected"
778
+ },
779
+ {
780
+ "kind": "field",
781
+ "name": "_geoJsonSources",
782
+ "type": {
783
+ "text": "string[]"
784
+ },
785
+ "privacy": "protected",
786
+ "default": "[]"
787
+ },
788
+ {
789
+ "kind": "field",
790
+ "name": "_geoJsonLayers",
791
+ "type": {
792
+ "text": "Map<string, any>"
793
+ },
794
+ "privacy": "protected",
795
+ "default": "new Map()"
796
+ },
797
+ {
798
+ "kind": "field",
799
+ "name": "_viewSettings",
800
+ "type": {
801
+ "text": "ViewSettings | undefined"
802
+ },
803
+ "privacy": "protected"
804
+ },
805
+ {
806
+ "kind": "field",
807
+ "name": "_center",
808
+ "type": {
809
+ "text": "LngLatLike | undefined"
810
+ },
811
+ "privacy": "protected"
812
+ },
813
+ {
814
+ "kind": "field",
815
+ "name": "_zoom",
816
+ "type": {
817
+ "text": "number | undefined"
818
+ },
819
+ "privacy": "protected"
820
+ },
821
+ {
822
+ "kind": "field",
823
+ "name": "_showGeoCodingControl",
824
+ "type": {
825
+ "text": "boolean"
826
+ },
827
+ "privacy": "protected",
828
+ "default": "showGeoCodingControl"
829
+ },
830
+ {
831
+ "kind": "field",
832
+ "name": "_showBoundaryBox",
833
+ "type": {
834
+ "text": "boolean"
835
+ },
836
+ "privacy": "protected",
837
+ "default": "showBoundaryBox"
838
+ },
839
+ {
840
+ "kind": "field",
841
+ "name": "_useZoomControls",
842
+ "type": {
843
+ "text": "boolean"
844
+ },
845
+ "privacy": "protected",
846
+ "default": "useZoomControls"
847
+ },
848
+ {
849
+ "kind": "field",
850
+ "name": "_showGeoJson",
851
+ "type": {
852
+ "text": "boolean"
853
+ },
854
+ "privacy": "protected",
855
+ "default": "showGeoJson"
856
+ },
857
+ {
858
+ "kind": "field",
859
+ "name": "_controls",
860
+ "type": {
861
+ "text": "(IControl | [IControl, ControlPosition?])[] | undefined"
862
+ },
863
+ "privacy": "protected"
864
+ },
865
+ {
866
+ "kind": "field",
867
+ "name": "_clickHandlers",
868
+ "type": {
869
+ "text": "Map<OrMapMarker, (ev: MouseEvent) => void>"
870
+ },
871
+ "privacy": "protected",
872
+ "default": "new Map()"
873
+ },
874
+ {
875
+ "kind": "field",
876
+ "name": "_geocoder",
877
+ "type": {
878
+ "text": "any | undefined"
879
+ },
880
+ "privacy": "protected"
881
+ },
882
+ {
883
+ "kind": "method",
884
+ "name": "setCenter",
885
+ "privacy": "public",
886
+ "return": {
887
+ "type": {
888
+ "text": "this"
889
+ }
890
+ },
891
+ "parameters": [
892
+ {
893
+ "name": "center",
894
+ "optional": true,
895
+ "type": {
896
+ "text": "LngLatLike"
897
+ }
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "kind": "method",
903
+ "name": "flyTo",
904
+ "privacy": "public",
905
+ "return": {
906
+ "type": {
907
+ "text": "this"
908
+ }
909
+ },
910
+ "parameters": [
911
+ {
912
+ "name": "coordinates",
913
+ "optional": true,
914
+ "type": {
915
+ "text": "LngLatLike"
916
+ }
917
+ },
918
+ {
919
+ "name": "zoom",
920
+ "optional": true,
921
+ "type": {
922
+ "text": "number"
923
+ }
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "kind": "method",
929
+ "name": "resize",
930
+ "privacy": "public",
931
+ "return": {
932
+ "type": {
933
+ "text": "this"
934
+ }
935
+ }
936
+ },
937
+ {
938
+ "kind": "method",
939
+ "name": "setZoom",
940
+ "privacy": "public",
941
+ "return": {
942
+ "type": {
943
+ "text": "this"
944
+ }
945
+ },
946
+ "parameters": [
947
+ {
948
+ "name": "zoom",
949
+ "optional": true,
950
+ "type": {
951
+ "text": "number"
952
+ }
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "kind": "method",
958
+ "name": "setControls",
959
+ "privacy": "public",
960
+ "return": {
961
+ "type": {
962
+ "text": "this"
963
+ }
964
+ },
965
+ "parameters": [
966
+ {
967
+ "name": "controls",
968
+ "optional": true,
969
+ "type": {
970
+ "text": "(IControl | [IControl, ControlPosition?])[]"
971
+ }
972
+ }
973
+ ]
974
+ },
975
+ {
976
+ "kind": "method",
977
+ "name": "setGeoJson",
978
+ "privacy": "public",
979
+ "return": {
980
+ "type": {
981
+ "text": "this"
982
+ }
983
+ },
984
+ "parameters": [
985
+ {
986
+ "name": "geoJsonConfig",
987
+ "optional": true,
988
+ "type": {
989
+ "text": "GeoJsonConfig"
990
+ }
991
+ }
992
+ ]
993
+ },
994
+ {
995
+ "kind": "method",
996
+ "name": "loadViewSettings",
997
+ "privacy": "public"
998
+ },
999
+ {
1000
+ "kind": "method",
1001
+ "name": "load",
1002
+ "privacy": "public",
1003
+ "return": {
1004
+ "type": {
1005
+ "text": "Promise<void>"
1006
+ }
1007
+ }
1008
+ },
1009
+ {
1010
+ "kind": "method",
1011
+ "name": "styleLoaded",
1012
+ "privacy": "protected",
1013
+ "return": {
1014
+ "type": {
1015
+ "text": "Promise<void>"
1016
+ }
1017
+ }
1018
+ },
1019
+ {
1020
+ "kind": "method",
1021
+ "name": "unload",
1022
+ "privacy": "public"
1023
+ },
1024
+ {
1025
+ "kind": "method",
1026
+ "name": "_onMapClick",
1027
+ "privacy": "protected",
1028
+ "parameters": [
1029
+ {
1030
+ "name": "lngLat",
1031
+ "type": {
1032
+ "text": "LngLat"
1033
+ }
1034
+ },
1035
+ {
1036
+ "name": "doubleClicked",
1037
+ "default": "false",
1038
+ "type": {
1039
+ "text": "boolean"
1040
+ }
1041
+ }
1042
+ ]
1043
+ },
1044
+ {
1045
+ "kind": "method",
1046
+ "name": "loadGeoJSON",
1047
+ "privacy": "protected",
1048
+ "parameters": [
1049
+ {
1050
+ "name": "geoJsonConfig",
1051
+ "optional": true,
1052
+ "type": {
1053
+ "text": "GeoJsonConfig"
1054
+ }
1055
+ }
1056
+ ]
1057
+ },
1058
+ {
1059
+ "kind": "method",
1060
+ "name": "groupSourcesByGeometryType",
1061
+ "privacy": "public",
1062
+ "return": {
1063
+ "type": {
1064
+ "text": "Map<string, Feature[]> | undefined"
1065
+ }
1066
+ },
1067
+ "parameters": [
1068
+ {
1069
+ "name": "sources",
1070
+ "type": {
1071
+ "text": "FeatureCollection"
1072
+ }
1073
+ }
1074
+ ]
1075
+ },
1076
+ {
1077
+ "kind": "method",
1078
+ "name": "addGeoJSONSource",
1079
+ "privacy": "public",
1080
+ "return": {
1081
+ "type": {
1082
+ "text": "{ source: GeoJSONSourceSpecification, sourceId: string } | undefined"
1083
+ }
1084
+ },
1085
+ "parameters": [
1086
+ {
1087
+ "name": "source",
1088
+ "type": {
1089
+ "text": "GeoJSONSourceSpecification"
1090
+ }
1091
+ }
1092
+ ]
1093
+ },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "addGeoJSONLayer",
1097
+ "privacy": "public",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "typeString",
1101
+ "type": {
1102
+ "text": "string"
1103
+ }
1104
+ },
1105
+ {
1106
+ "name": "sourceId",
1107
+ "type": {
1108
+ "text": "string"
1109
+ }
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "kind": "method",
1115
+ "name": "addMarker",
1116
+ "privacy": "public",
1117
+ "parameters": [
1118
+ {
1119
+ "name": "marker",
1120
+ "type": {
1121
+ "text": "OrMapMarker"
1122
+ }
1123
+ }
1124
+ ]
1125
+ },
1126
+ {
1127
+ "kind": "method",
1128
+ "name": "removeMarker",
1129
+ "privacy": "public",
1130
+ "parameters": [
1131
+ {
1132
+ "name": "marker",
1133
+ "type": {
1134
+ "text": "OrMapMarker"
1135
+ }
1136
+ }
1137
+ ]
1138
+ },
1139
+ {
1140
+ "kind": "method",
1141
+ "name": "onMarkerChanged",
1142
+ "privacy": "public",
1143
+ "parameters": [
1144
+ {
1145
+ "name": "marker",
1146
+ "type": {
1147
+ "text": "OrMapMarker"
1148
+ }
1149
+ },
1150
+ {
1151
+ "name": "prop",
1152
+ "type": {
1153
+ "text": "string"
1154
+ }
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "method",
1160
+ "name": "_updateMarkerPosition",
1161
+ "privacy": "protected",
1162
+ "parameters": [
1163
+ {
1164
+ "name": "marker",
1165
+ "type": {
1166
+ "text": "OrMapMarker"
1167
+ }
1168
+ }
1169
+ ]
1170
+ },
1171
+ {
1172
+ "kind": "method",
1173
+ "name": "_updateMarkerElement",
1174
+ "privacy": "protected",
1175
+ "parameters": [
1176
+ {
1177
+ "name": "marker",
1178
+ "type": {
1179
+ "text": "OrMapMarker"
1180
+ }
1181
+ },
1182
+ {
1183
+ "name": "doAdd",
1184
+ "type": {
1185
+ "text": "boolean"
1186
+ }
1187
+ }
1188
+ ]
1189
+ },
1190
+ {
1191
+ "kind": "method",
1192
+ "name": "_removeMarkerRadius",
1193
+ "privacy": "protected",
1194
+ "parameters": [
1195
+ {
1196
+ "name": "marker",
1197
+ "type": {
1198
+ "text": "OrMapMarker"
1199
+ }
1200
+ }
1201
+ ]
1202
+ },
1203
+ {
1204
+ "kind": "method",
1205
+ "name": "_createMarkerRadius",
1206
+ "privacy": "protected",
1207
+ "parameters": [
1208
+ {
1209
+ "name": "marker",
1210
+ "type": {
1211
+ "text": "OrMapMarker"
1212
+ }
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "kind": "method",
1218
+ "name": "createBoundaryBox",
1219
+ "privacy": "public",
1220
+ "parameters": [
1221
+ {
1222
+ "name": "boundsArray",
1223
+ "default": "[]",
1224
+ "type": {
1225
+ "text": "string[]"
1226
+ }
1227
+ }
1228
+ ]
1229
+ },
1230
+ {
1231
+ "kind": "method",
1232
+ "name": "_addMarkerClickHandler",
1233
+ "privacy": "protected",
1234
+ "parameters": [
1235
+ {
1236
+ "name": "marker",
1237
+ "type": {
1238
+ "text": "OrMapMarker"
1239
+ }
1240
+ },
1241
+ {
1242
+ "name": "elem",
1243
+ "type": {
1244
+ "text": "HTMLElement"
1245
+ }
1246
+ }
1247
+ ]
1248
+ },
1249
+ {
1250
+ "kind": "method",
1251
+ "name": "_removeMarkerClickHandler",
1252
+ "privacy": "protected",
1253
+ "parameters": [
1254
+ {
1255
+ "name": "marker",
1256
+ "type": {
1257
+ "text": "OrMapMarker"
1258
+ }
1259
+ },
1260
+ {
1261
+ "name": "elem",
1262
+ "type": {
1263
+ "text": "HTMLElement"
1264
+ }
1265
+ }
1266
+ ]
1267
+ },
1268
+ {
1269
+ "kind": "method",
1270
+ "name": "_forwardGeocode",
1271
+ "privacy": "protected",
1272
+ "parameters": [
1273
+ {
1274
+ "name": "config",
1275
+ "type": {
1276
+ "text": "any"
1277
+ }
1278
+ }
1279
+ ]
1280
+ },
1281
+ {
1282
+ "kind": "method",
1283
+ "name": "_reverseGeocode",
1284
+ "privacy": "public",
1285
+ "parameters": [
1286
+ {
1287
+ "name": "config",
1288
+ "type": {
1289
+ "text": "{lat: number, lon:number}"
1290
+ }
1291
+ }
1292
+ ]
1293
+ },
1294
+ {
1295
+ "kind": "method",
1296
+ "name": "_initLongPressEvent",
1297
+ "privacy": "protected"
1298
+ },
1299
+ {
1300
+ "kind": "method",
1301
+ "name": "_onLongPress",
1302
+ "privacy": "protected",
1303
+ "parameters": [
1304
+ {
1305
+ "name": "lngLat",
1306
+ "type": {
1307
+ "text": "LngLat"
1308
+ }
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "kind": "method",
1314
+ "name": "_onGeocodeChange",
1315
+ "privacy": "protected",
1316
+ "parameters": [
1317
+ {
1318
+ "name": "geocode",
1319
+ "type": {
1320
+ "text": "any"
1321
+ }
1322
+ }
1323
+ ]
1324
+ }
1325
+ ]
1326
+ }
1327
+ ],
1328
+ "exports": [
1329
+ {
1330
+ "kind": "js",
1331
+ "name": "MapWidget",
1332
+ "declaration": {
1333
+ "name": "MapWidget",
1334
+ "module": "src/mapwidget.ts"
1335
+ }
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "kind": "javascript-module",
1341
+ "path": "src/or-map-asset-card.ts",
1342
+ "declarations": [
1343
+ {
1344
+ "kind": "class",
1345
+ "description": "",
1346
+ "name": "OrMapAssetCardLoadAssetEvent",
1347
+ "members": [
1348
+ {
1349
+ "kind": "field",
1350
+ "name": "NAME",
1351
+ "type": {
1352
+ "text": "string"
1353
+ },
1354
+ "privacy": "public",
1355
+ "static": true,
1356
+ "readonly": true,
1357
+ "default": "\"or-map-asset-card-load-asset\""
1358
+ }
1359
+ ],
1360
+ "superclass": {
1361
+ "name": "CustomEvent",
1362
+ "module": "src/or-map-asset-card.ts"
1363
+ }
1364
+ },
1365
+ {
1366
+ "kind": "variable",
1367
+ "name": "DefaultConfig",
1368
+ "type": {
1369
+ "text": "MapAssetCardConfig"
1370
+ },
1371
+ "default": "{ default: { exclude: [\"notes\"] }, assetTypes: { } }"
1372
+ },
1373
+ {
1374
+ "kind": "class",
1375
+ "description": "",
1376
+ "name": "OrMapAssetCard",
1377
+ "members": [
1378
+ {
1379
+ "kind": "field",
1380
+ "name": "assetId",
1381
+ "type": {
1382
+ "text": "string | undefined"
1383
+ },
1384
+ "privacy": "public"
1385
+ },
1386
+ {
1387
+ "kind": "field",
1388
+ "name": "asset",
1389
+ "type": {
1390
+ "text": "Asset | undefined"
1391
+ },
1392
+ "privacy": "public"
1393
+ },
1394
+ {
1395
+ "kind": "field",
1396
+ "name": "config",
1397
+ "type": {
1398
+ "text": "MapAssetCardConfig | undefined"
1399
+ },
1400
+ "privacy": "public"
1401
+ },
1402
+ {
1403
+ "kind": "field",
1404
+ "name": "markerconfig",
1405
+ "type": {
1406
+ "text": "MapMarkerAssetConfig | undefined"
1407
+ },
1408
+ "privacy": "public"
1409
+ },
1410
+ {
1411
+ "kind": "field",
1412
+ "name": "useAssetColor",
1413
+ "type": {
1414
+ "text": "boolean"
1415
+ },
1416
+ "privacy": "public",
1417
+ "default": "true"
1418
+ },
1419
+ {
1420
+ "kind": "field",
1421
+ "name": "styles",
1422
+ "type": {
1423
+ "text": "CSSResultGroup"
1424
+ },
1425
+ "static": true,
1426
+ "readonly": true
1427
+ },
1428
+ {
1429
+ "kind": "method",
1430
+ "name": "shouldUpdate",
1431
+ "privacy": "protected",
1432
+ "return": {
1433
+ "type": {
1434
+ "text": "boolean"
1435
+ }
1436
+ },
1437
+ "parameters": [
1438
+ {
1439
+ "name": "_changedProperties",
1440
+ "type": {
1441
+ "text": "PropertyValues"
1442
+ }
1443
+ }
1444
+ ]
1445
+ },
1446
+ {
1447
+ "kind": "method",
1448
+ "name": "_onEvent",
1449
+ "privacy": "public",
1450
+ "parameters": [
1451
+ {
1452
+ "name": "event",
1453
+ "type": {
1454
+ "text": "SharedEvent"
1455
+ }
1456
+ }
1457
+ ]
1458
+ },
1459
+ {
1460
+ "kind": "method",
1461
+ "name": "getCardConfig",
1462
+ "privacy": "protected",
1463
+ "return": {
1464
+ "type": {
1465
+ "text": "MapAssetCardTypeConfig | undefined"
1466
+ }
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "method",
1471
+ "name": "render",
1472
+ "privacy": "protected",
1473
+ "return": {
1474
+ "type": {
1475
+ "text": "TemplateResult | undefined"
1476
+ }
1477
+ }
1478
+ },
1479
+ {
1480
+ "kind": "method",
1481
+ "name": "_loadAsset",
1482
+ "privacy": "protected",
1483
+ "parameters": [
1484
+ {
1485
+ "name": "assetId",
1486
+ "type": {
1487
+ "text": "string"
1488
+ }
1489
+ }
1490
+ ]
1491
+ },
1492
+ {
1493
+ "kind": "method",
1494
+ "name": "getIcon",
1495
+ "privacy": "protected",
1496
+ "return": {
1497
+ "type": {
1498
+ "text": "string | undefined"
1499
+ }
1500
+ }
1501
+ },
1502
+ {
1503
+ "kind": "method",
1504
+ "name": "getColor",
1505
+ "privacy": "protected",
1506
+ "return": {
1507
+ "type": {
1508
+ "text": "string | undefined"
1509
+ }
1510
+ }
1511
+ }
1512
+ ],
1513
+ "events": [
1514
+ {
1515
+ "name": "assetId",
1516
+ "type": {
1517
+ "text": "OrMapAssetCardLoadAssetEvent"
1518
+ }
1519
+ }
1520
+ ],
1521
+ "mixins": [
1522
+ {
1523
+ "name": "subscribe(manager)",
1524
+ "module": "src/or-map-asset-card.ts"
1525
+ }
1526
+ ],
1527
+ "superclass": {
1528
+ "name": "LitElement",
1529
+ "package": "lit"
1530
+ },
1531
+ "customElement": true
1532
+ }
1533
+ ],
1534
+ "exports": [
1535
+ {
1536
+ "kind": "js",
1537
+ "name": "OrMapAssetCardLoadAssetEvent",
1538
+ "declaration": {
1539
+ "name": "OrMapAssetCardLoadAssetEvent",
1540
+ "module": "src/or-map-asset-card.ts"
1541
+ }
1542
+ },
1543
+ {
1544
+ "kind": "js",
1545
+ "name": "DefaultConfig",
1546
+ "declaration": {
1547
+ "name": "DefaultConfig",
1548
+ "module": "src/or-map-asset-card.ts"
1549
+ }
1550
+ },
1551
+ {
1552
+ "kind": "js",
1553
+ "name": "OrMapAssetCard",
1554
+ "declaration": {
1555
+ "name": "OrMapAssetCard",
1556
+ "module": "src/or-map-asset-card.ts"
1557
+ }
1558
+ }
1559
+ ]
1560
+ },
1561
+ {
1562
+ "kind": "javascript-module",
1563
+ "path": "src/style.ts",
1564
+ "declarations": [
1565
+ {
1566
+ "kind": "variable",
1567
+ "name": "markerColorVar",
1568
+ "type": {
1569
+ "text": "string"
1570
+ },
1571
+ "default": "\"--internal-or-map-marker-color\""
1572
+ },
1573
+ {
1574
+ "kind": "variable",
1575
+ "name": "markerActiveColorVar",
1576
+ "type": {
1577
+ "text": "string"
1578
+ },
1579
+ "default": "\"--internal-or-map-marker-active-color\""
1580
+ },
1581
+ {
1582
+ "kind": "variable",
1583
+ "name": "style",
1584
+ "default": "css` :host { --internal-or-map-width: var(--or-map-width, 100%); --internal-or-map-min-height: var(--or-map-min-height, 300px); --internal-or-map-marker-transform: var(--or-map-marker-transform, translate(-16px, -29px)); --internal-or-map-marker-width: var(--or-map-marker-width, 32px); --internal-or-map-marker-height: var(--or-map-marker-height, 32px); --internal-or-map-marker-color: var(--or-map-marker-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-map-marker-stroke: var(--or-map-marker-stroke, none); --internal-or-map-marker-icon-color: var(--or-map-marker-icon-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)})); --internal-or-map-marker-icon-stroke: var(--or-map-marker-icon-stroke, none); --internal-or-map-marker-icon-width: var(--or-map-marker-icon-width, 16px); --internal-or-map-marker-icon-height: var(--or-map-marker-icon-height, 16px); --internal-or-map-marker-icon-transform: var(--or-map-marker-icon-transform, translate(-50%, -14px)); --internal-or-map-marker-active-transform: var(--or-map-marker-active-transform, translate(-24px, -44px)); --internal-or-map-marker-active-width: var(--or-map-marker-active-width, 48px); --internal-or-map-marker-active-height: var(--or-map-marker-active-height, 48px); --internal-or-map-marker-active-color: var(--or-map-marker-active-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-map-marker-active-stroke: var(--or-map-marker-active-stroke, 2px); --internal-or-map-marker-icon-active-color: var(--or-map-marker-icon-active-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)})); --internal-or-map-marker-icon-active-stroke: var(--or-map-marker-icon-active-stroke, none); --internal-or-map-marker-icon-active-width: var(--or-map-marker-icon-active-width, 24px); --internal-or-map-marker-icon-active-height: var(--or-map-marker-icon-active-height, 24px); --internal-or-map-marker-icon-active-transform: var(--or-map-marker-icon-active-transform, translate(-50%, -20px)); display: block; overflow: hidden; min-height: var(--internal-or-map-min-height); width: var(--internal-or-map-width); } canvas { outline: none !important; } :host([hidden]) { display: none; } slot { display: none; } #container { position: relative; width: 100%; height: 100%; } #map { position: absolute; left: 0; right: 0; top: 0; bottom: 0; } .mapboxgl-ctrl-geocoder, .maplibregl-ctrl-geocoder--input { width: calc(100% - 20px) } .leaflet-marker-icon, .maplibregl-marker, .mapboxgl-marker { pointer-events: none !important; } .or-map-marker { position: absolute; /* This makes mapboxJS behave like mapboxGL */ } .or-map-marker.active { z-index: 1; } .marker-container { position: relative; cursor: pointer; transform: var(--internal-or-map-marker-transform); --or-icon-fill: var(--internal-or-map-marker-color); --or-icon-width: var(--internal-or-map-marker-width); --or-icon-height: var(--internal-or-map-marker-height); --or-icon-stroke: var(--internal-or-map-marker-stroke); } .or-map-marker.active .marker-container { transform: var(--internal-or-map-marker-active-transform); --or-icon-fill: var(--internal-or-map-marker-active-color); --or-icon-width: var(--internal-or-map-marker-active-width); --or-icon-height: var(--internal-or-map-marker-active-height); --or-icon-stroke: var(--internal-or-map-marker-active-stroke); } .or-map-marker.interactive .marker-container { pointer-events: all; } .or-map-marker-default.interactive .marker-container { pointer-events: none; --or-icon-pointer-events: visible; } .or-map-marker .marker-icon { position: absolute; left: 50%; top: 50%; z-index: 1000; --or-icon-fill: var(--internal-or-map-marker-icon-color); --or-icon-stroke: var(--internal-or-map-marker-icon-stroke); --or-icon-width: var(--internal-or-map-marker-icon-width); --or-icon-height: var(--internal-or-map-marker-icon-height); transform: var(--internal-or-map-marker-icon-transform); } .or-map-marker.active .marker-icon { transform: var(--internal-or-map-marker-icon-active-transform); --or-icon-fill: var(--internal-or-map-marker-icon-active-color); --or-icon-stroke: var(--internal-or-map-marker-icon-active-stroke); --or-icon-width: var(--internal-or-map-marker-icon-active-width); --or-icon-height: var(--internal-or-map-marker-icon-active-height); } #openremote { position: absolute; bottom: 25px; right: 5px; height: 20px; width: 20px; cursor: pointer; } #openremote img { height: 20px; width: 20px; } @media only screen and (max-width: 640px) { #openremote { bottom: 40px; right: 12px; } } `"
1585
+ },
1586
+ {
1587
+ "kind": "variable",
1588
+ "name": "mapAssetCardStyle",
1589
+ "default": "css` :host { --internal-or-map-asset-card-header-color: var(--or-map-asset-card-header-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-map-asset-card-header-text-color: var(--or-map-asset-card-header-text-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)})); --internal-or-map-asset-card-header-height: var(--or-map-asset-card-header-height, calc(${unsafeCSS(DefaultHeaderHeight)} - 10px)); --internal-or-map-asset-card-background-color: var(--or-map-asset-card-background-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)})); --internal-or-map-asset-card-background-text-color: var(--or-map-asset-card-background-text-color, var(--or-app-color3, ${unsafeCSS(DefaultColor3)})); --internal-or-map-asset-card-separator-color: var(--or-map-asset-card-separator-color, var(--or-app-color2, ${unsafeCSS(DefaultColor2)})); display: block; } #card-container { display: flex; flex-direction: column; height: 100%; background-color: var(--internal-or-map-asset-card-background-color); -webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.28); -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.28); box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.28); } #header { height: var(--internal-or-map-asset-card-header-height); background-color: var(--internal-or-map-asset-card-header-color); line-height: var(--internal-or-map-asset-card-header-height); border-bottom: 1px solid ${unsafeCSS(DefaultColor5)}; text-align: center; color: var(--internal-or-map-asset-card-header-text-color); --or-icon-fill: var(--internal-or-map-asset-card-header-text-color); --or-icon-width: 20px; --or-icon-height: 20px; z-index: 99999; } #header > or-icon { margin-right: 5px; } #title { font-weight: 500; } #attribute-list { flex: 1; color: var(--internal-or-map-asset-card-background-text-color); padding: 10px 20px; overflow: auto; font-size: 14px; } ul { list-style-type: none; margin: 0; padding: 0; } li { display: flex; line-height: 30px; } li.highlighted { font-weight: bold; } .attribute-name { flex: 1; } .attribute-value { overflow: hidden; padding-left: 20px; text-align: right; } #footer { height: var(--internal-or-map-asset-card-header-height); border-top: 1px solid var(--internal-or-map-asset-card-separator-color); text-align: right; padding: 5px 12px; } @media only screen and (min-width: 40em){ #card-container { height: 400px; /* fallback for IE */ height: max-content; max-height: calc(100vh - 150px); min-height: 134px; } } `"
1590
+ }
1591
+ ],
1592
+ "exports": [
1593
+ {
1594
+ "kind": "js",
1595
+ "name": "markerColorVar",
1596
+ "declaration": {
1597
+ "name": "markerColorVar",
1598
+ "module": "src/style.ts"
1599
+ }
1600
+ },
1601
+ {
1602
+ "kind": "js",
1603
+ "name": "markerActiveColorVar",
1604
+ "declaration": {
1605
+ "name": "markerActiveColorVar",
1606
+ "module": "src/style.ts"
1607
+ }
1608
+ },
1609
+ {
1610
+ "kind": "js",
1611
+ "name": "style",
1612
+ "declaration": {
1613
+ "name": "style",
1614
+ "module": "src/style.ts"
1615
+ }
1616
+ },
1617
+ {
1618
+ "kind": "js",
1619
+ "name": "mapAssetCardStyle",
1620
+ "declaration": {
1621
+ "name": "mapAssetCardStyle",
1622
+ "module": "src/style.ts"
1623
+ }
1624
+ }
1625
+ ]
1626
+ },
1627
+ {
1628
+ "kind": "javascript-module",
1629
+ "path": "src/util.ts",
1630
+ "declarations": [
1631
+ {
1632
+ "kind": "function",
1633
+ "name": "getLngLat",
1634
+ "return": {
1635
+ "type": {
1636
+ "text": "{ lng: number, lat: number } | undefined"
1637
+ }
1638
+ },
1639
+ "parameters": [
1640
+ {
1641
+ "name": "lngLatLike",
1642
+ "optional": true,
1643
+ "type": {
1644
+ "text": "LngLatLike | Asset | ValueHolder<any> | GeoJSONPoint"
1645
+ }
1646
+ }
1647
+ ]
1648
+ },
1649
+ {
1650
+ "kind": "function",
1651
+ "name": "getGeoJSONPoint",
1652
+ "return": {
1653
+ "type": {
1654
+ "text": "GeoJSONPoint | undefined"
1655
+ }
1656
+ },
1657
+ "parameters": [
1658
+ {
1659
+ "name": "lngLat",
1660
+ "type": {
1661
+ "text": "LngLatLike | undefined"
1662
+ }
1663
+ }
1664
+ ]
1665
+ },
1666
+ {
1667
+ "kind": "function",
1668
+ "name": "getLngLatBounds",
1669
+ "return": {
1670
+ "type": {
1671
+ "text": "LngLatBounds | undefined"
1672
+ }
1673
+ },
1674
+ "parameters": [
1675
+ {
1676
+ "name": "lngLatBoundsLike",
1677
+ "optional": true,
1678
+ "type": {
1679
+ "text": "LngLatBoundsLike"
1680
+ }
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "kind": "function",
1686
+ "name": "getLatLngBounds",
1687
+ "return": {
1688
+ "type": {
1689
+ "text": "L.LatLngBounds | undefined"
1690
+ }
1691
+ },
1692
+ "parameters": [
1693
+ {
1694
+ "name": "lngLatBoundsLike",
1695
+ "optional": true,
1696
+ "type": {
1697
+ "text": "LngLatBoundsLike"
1698
+ }
1699
+ }
1700
+ ]
1701
+ },
1702
+ {
1703
+ "kind": "function",
1704
+ "name": "getMarkerIconAndColorFromAssetType",
1705
+ "return": {
1706
+ "type": {
1707
+ "text": "{icon: string, color: string | undefined | AttributeMarkerColoursRange[]} | undefined"
1708
+ }
1709
+ },
1710
+ "parameters": [
1711
+ {
1712
+ "name": "type",
1713
+ "type": {
1714
+ "text": "AssetDescriptor | string | undefined"
1715
+ }
1716
+ },
1717
+ {
1718
+ "name": "configOverrideSettings",
1719
+ "optional": true,
1720
+ "type": {
1721
+ "text": "OverrideConfigSettings"
1722
+ }
1723
+ }
1724
+ ]
1725
+ }
1726
+ ],
1727
+ "exports": [
1728
+ {
1729
+ "kind": "js",
1730
+ "name": "getLngLat",
1731
+ "declaration": {
1732
+ "name": "getLngLat",
1733
+ "module": "src/util.ts"
1734
+ }
1735
+ },
1736
+ {
1737
+ "kind": "js",
1738
+ "name": "getGeoJSONPoint",
1739
+ "declaration": {
1740
+ "name": "getGeoJSONPoint",
1741
+ "module": "src/util.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "js",
1746
+ "name": "getLngLatBounds",
1747
+ "declaration": {
1748
+ "name": "getLngLatBounds",
1749
+ "module": "src/util.ts"
1750
+ }
1751
+ },
1752
+ {
1753
+ "kind": "js",
1754
+ "name": "getLatLngBounds",
1755
+ "declaration": {
1756
+ "name": "getLatLngBounds",
1757
+ "module": "src/util.ts"
1758
+ }
1759
+ },
1760
+ {
1761
+ "kind": "js",
1762
+ "name": "getMarkerIconAndColorFromAssetType",
1763
+ "declaration": {
1764
+ "name": "getMarkerIconAndColorFromAssetType",
1765
+ "module": "src/util.ts"
1766
+ }
1767
+ }
1768
+ ]
1769
+ },
1770
+ {
1771
+ "kind": "javascript-module",
1772
+ "path": "src/markers/or-map-marker-asset.ts",
1773
+ "declarations": [
1774
+ {
1775
+ "kind": "function",
1776
+ "name": "getMarkerConfigForAssetType",
1777
+ "return": {
1778
+ "type": {
1779
+ "text": "MapMarkerConfig | undefined"
1780
+ }
1781
+ },
1782
+ "parameters": [
1783
+ {
1784
+ "name": "config",
1785
+ "type": {
1786
+ "text": "MapMarkerAssetConfig | undefined"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "assetType",
1791
+ "type": {
1792
+ "text": "string | undefined"
1793
+ }
1794
+ }
1795
+ ]
1796
+ },
1797
+ {
1798
+ "kind": "function",
1799
+ "name": "getMarkerConfigAttributeName",
1800
+ "return": {
1801
+ "type": {
1802
+ "text": "string | undefined"
1803
+ }
1804
+ },
1805
+ "parameters": [
1806
+ {
1807
+ "name": "config",
1808
+ "type": {
1809
+ "text": "MapMarkerAssetConfig | undefined"
1810
+ }
1811
+ },
1812
+ {
1813
+ "name": "assetType",
1814
+ "type": {
1815
+ "text": "string | undefined"
1816
+ }
1817
+ }
1818
+ ]
1819
+ },
1820
+ {
1821
+ "kind": "class",
1822
+ "description": "",
1823
+ "name": "OrMapMarkerAsset",
1824
+ "members": [
1825
+ {
1826
+ "kind": "field",
1827
+ "name": "assetId",
1828
+ "type": {
1829
+ "text": "string | undefined"
1830
+ },
1831
+ "privacy": "public"
1832
+ },
1833
+ {
1834
+ "kind": "field",
1835
+ "name": "asset",
1836
+ "type": {
1837
+ "text": "Asset | undefined"
1838
+ },
1839
+ "privacy": "public"
1840
+ },
1841
+ {
1842
+ "kind": "field",
1843
+ "name": "config",
1844
+ "type": {
1845
+ "text": "MapMarkerAssetConfig | undefined"
1846
+ },
1847
+ "privacy": "public"
1848
+ },
1849
+ {
1850
+ "kind": "field",
1851
+ "name": "assetTypeAsIcon",
1852
+ "type": {
1853
+ "text": "boolean"
1854
+ },
1855
+ "privacy": "public",
1856
+ "default": "true"
1857
+ },
1858
+ {
1859
+ "kind": "field",
1860
+ "name": "markerColor",
1861
+ "type": {
1862
+ "text": "string | undefined"
1863
+ },
1864
+ "privacy": "protected"
1865
+ },
1866
+ {
1867
+ "kind": "field",
1868
+ "name": "type",
1869
+ "privacy": "protected"
1870
+ },
1871
+ {
1872
+ "kind": "method",
1873
+ "name": "shouldUpdate",
1874
+ "privacy": "protected",
1875
+ "return": {
1876
+ "type": {
1877
+ "text": "boolean"
1878
+ }
1879
+ },
1880
+ "parameters": [
1881
+ {
1882
+ "name": "_changedProperties",
1883
+ "type": {
1884
+ "text": "PropertyValues"
1885
+ }
1886
+ }
1887
+ ],
1888
+ "inheritedFrom": {
1889
+ "name": "OrMapMarker",
1890
+ "module": "src/markers/or-map-marker.ts"
1891
+ }
1892
+ },
1893
+ {
1894
+ "kind": "method",
1895
+ "name": "_onEvent",
1896
+ "privacy": "public",
1897
+ "parameters": [
1898
+ {
1899
+ "name": "event",
1900
+ "type": {
1901
+ "text": "SharedEvent"
1902
+ }
1903
+ }
1904
+ ],
1905
+ "description": "This will only get called when assetId is set; if asset is set then it is expected that attribute changes are\nhandled outside this component and the asset should be replaced when attributes change that require the marker\nto re-render"
1906
+ },
1907
+ {
1908
+ "kind": "method",
1909
+ "name": "onAssetChanged",
1910
+ "privacy": "protected",
1911
+ "parameters": [
1912
+ {
1913
+ "name": "asset",
1914
+ "optional": true,
1915
+ "type": {
1916
+ "text": "Asset"
1917
+ }
1918
+ }
1919
+ ]
1920
+ },
1921
+ {
1922
+ "kind": "method",
1923
+ "name": "_updateLocation",
1924
+ "privacy": "protected",
1925
+ "parameters": [
1926
+ {
1927
+ "name": "location",
1928
+ "type": {
1929
+ "text": "GeoJSONPoint | null"
1930
+ }
1931
+ }
1932
+ ]
1933
+ },
1934
+ {
1935
+ "kind": "method",
1936
+ "name": "getColor",
1937
+ "privacy": "protected",
1938
+ "inheritedFrom": {
1939
+ "name": "OrMapMarker",
1940
+ "module": "src/markers/or-map-marker.ts"
1941
+ }
1942
+ },
1943
+ {
1944
+ "kind": "method",
1945
+ "name": "getActiveColor",
1946
+ "privacy": "protected",
1947
+ "inheritedFrom": {
1948
+ "name": "OrMapMarker",
1949
+ "module": "src/markers/or-map-marker.ts"
1950
+ }
1951
+ },
1952
+ {
1953
+ "kind": "field",
1954
+ "name": "visible",
1955
+ "type": {
1956
+ "text": "boolean"
1957
+ },
1958
+ "privacy": "public",
1959
+ "default": "false",
1960
+ "inheritedFrom": {
1961
+ "name": "OrMapMarker",
1962
+ "module": "src/markers/or-map-marker.ts"
1963
+ }
1964
+ },
1965
+ {
1966
+ "kind": "field",
1967
+ "name": "styles",
1968
+ "type": {
1969
+ "text": "CSSResultGroup"
1970
+ },
1971
+ "static": true,
1972
+ "readonly": true,
1973
+ "inheritedFrom": {
1974
+ "name": "OrMapMarker",
1975
+ "module": "src/markers/or-map-marker.ts"
1976
+ }
1977
+ },
1978
+ {
1979
+ "kind": "field",
1980
+ "name": "_defaultTemplate",
1981
+ "privacy": "protected",
1982
+ "static": true,
1983
+ "inheritedFrom": {
1984
+ "name": "OrMapMarker",
1985
+ "module": "src/markers/or-map-marker.ts"
1986
+ }
1987
+ },
1988
+ {
1989
+ "kind": "field",
1990
+ "name": "lat",
1991
+ "type": {
1992
+ "text": "number | undefined"
1993
+ },
1994
+ "privacy": "public",
1995
+ "inheritedFrom": {
1996
+ "name": "OrMapMarker",
1997
+ "module": "src/markers/or-map-marker.ts"
1998
+ }
1999
+ },
2000
+ {
2001
+ "kind": "field",
2002
+ "name": "lng",
2003
+ "type": {
2004
+ "text": "number | undefined"
2005
+ },
2006
+ "privacy": "public",
2007
+ "inheritedFrom": {
2008
+ "name": "OrMapMarker",
2009
+ "module": "src/markers/or-map-marker.ts"
2010
+ }
2011
+ },
2012
+ {
2013
+ "kind": "field",
2014
+ "name": "radius",
2015
+ "type": {
2016
+ "text": "number | undefined"
2017
+ },
2018
+ "privacy": "public",
2019
+ "inheritedFrom": {
2020
+ "name": "OrMapMarker",
2021
+ "module": "src/markers/or-map-marker.ts"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "field",
2026
+ "name": "displayValue",
2027
+ "type": {
2028
+ "text": "string | undefined"
2029
+ },
2030
+ "privacy": "public",
2031
+ "inheritedFrom": {
2032
+ "name": "OrMapMarker",
2033
+ "module": "src/markers/or-map-marker.ts"
2034
+ }
2035
+ },
2036
+ {
2037
+ "kind": "field",
2038
+ "name": "direction",
2039
+ "type": {
2040
+ "text": "string | undefined"
2041
+ },
2042
+ "privacy": "public",
2043
+ "inheritedFrom": {
2044
+ "name": "OrMapMarker",
2045
+ "module": "src/markers/or-map-marker.ts"
2046
+ }
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "icon",
2051
+ "type": {
2052
+ "text": "string | undefined"
2053
+ },
2054
+ "privacy": "public",
2055
+ "inheritedFrom": {
2056
+ "name": "OrMapMarker",
2057
+ "module": "src/markers/or-map-marker.ts"
2058
+ }
2059
+ },
2060
+ {
2061
+ "kind": "field",
2062
+ "name": "color",
2063
+ "type": {
2064
+ "text": "string | undefined"
2065
+ },
2066
+ "privacy": "public",
2067
+ "inheritedFrom": {
2068
+ "name": "OrMapMarker",
2069
+ "module": "src/markers/or-map-marker.ts"
2070
+ }
2071
+ },
2072
+ {
2073
+ "kind": "field",
2074
+ "name": "activeColor",
2075
+ "type": {
2076
+ "text": "string | undefined"
2077
+ },
2078
+ "privacy": "public",
2079
+ "inheritedFrom": {
2080
+ "name": "OrMapMarker",
2081
+ "module": "src/markers/or-map-marker.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "field",
2086
+ "name": "interactive",
2087
+ "type": {
2088
+ "text": "boolean"
2089
+ },
2090
+ "privacy": "public",
2091
+ "default": "true",
2092
+ "inheritedFrom": {
2093
+ "name": "OrMapMarker",
2094
+ "module": "src/markers/or-map-marker.ts"
2095
+ }
2096
+ },
2097
+ {
2098
+ "kind": "field",
2099
+ "name": "active",
2100
+ "type": {
2101
+ "text": "boolean"
2102
+ },
2103
+ "default": "false",
2104
+ "inheritedFrom": {
2105
+ "name": "OrMapMarker",
2106
+ "module": "src/markers/or-map-marker.ts"
2107
+ }
2108
+ },
2109
+ {
2110
+ "kind": "field",
2111
+ "name": "_actualMarkerElement",
2112
+ "type": {
2113
+ "text": "HTMLDivElement | undefined"
2114
+ },
2115
+ "privacy": "public",
2116
+ "inheritedFrom": {
2117
+ "name": "OrMapMarker",
2118
+ "module": "src/markers/or-map-marker.ts"
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "_slot",
2124
+ "type": {
2125
+ "text": "HTMLSlotElement | undefined"
2126
+ },
2127
+ "privacy": "protected",
2128
+ "inheritedFrom": {
2129
+ "name": "OrMapMarker",
2130
+ "module": "src/markers/or-map-marker.ts"
2131
+ }
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "markerContainer",
2136
+ "type": {
2137
+ "text": "HTMLDivElement | undefined"
2138
+ },
2139
+ "privacy": "public",
2140
+ "readonly": true,
2141
+ "inheritedFrom": {
2142
+ "name": "OrMapMarker",
2143
+ "module": "src/markers/or-map-marker.ts"
2144
+ }
2145
+ },
2146
+ {
2147
+ "kind": "method",
2148
+ "name": "_onClick",
2149
+ "privacy": "public",
2150
+ "parameters": [
2151
+ {
2152
+ "name": "e",
2153
+ "type": {
2154
+ "text": "MouseEvent"
2155
+ }
2156
+ }
2157
+ ],
2158
+ "inheritedFrom": {
2159
+ "name": "OrMapMarker",
2160
+ "module": "src/markers/or-map-marker.ts"
2161
+ }
2162
+ },
2163
+ {
2164
+ "kind": "method",
2165
+ "name": "_createMarkerElement",
2166
+ "privacy": "public",
2167
+ "return": {
2168
+ "type": {
2169
+ "text": "HTMLDivElement"
2170
+ }
2171
+ },
2172
+ "inheritedFrom": {
2173
+ "name": "OrMapMarker",
2174
+ "module": "src/markers/or-map-marker.ts"
2175
+ }
2176
+ },
2177
+ {
2178
+ "kind": "method",
2179
+ "name": "createMarkerContent",
2180
+ "privacy": "public",
2181
+ "return": {
2182
+ "type": {
2183
+ "text": "HTMLElement | undefined"
2184
+ }
2185
+ },
2186
+ "description": "Override in sub types to customise the look of the marker. If undefined returned then a default marker will\nbe used instead.",
2187
+ "inheritedFrom": {
2188
+ "name": "OrMapMarker",
2189
+ "module": "src/markers/or-map-marker.ts"
2190
+ }
2191
+ },
2192
+ {
2193
+ "kind": "method",
2194
+ "name": "updateVisibility",
2195
+ "privacy": "protected",
2196
+ "parameters": [
2197
+ {
2198
+ "name": "container",
2199
+ "optional": true,
2200
+ "type": {
2201
+ "text": "HTMLDivElement"
2202
+ }
2203
+ }
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "OrMapMarker",
2207
+ "module": "src/markers/or-map-marker.ts"
2208
+ }
2209
+ },
2210
+ {
2211
+ "kind": "method",
2212
+ "name": "updateColor",
2213
+ "privacy": "protected",
2214
+ "parameters": [
2215
+ {
2216
+ "name": "container",
2217
+ "optional": true,
2218
+ "type": {
2219
+ "text": "HTMLDivElement"
2220
+ }
2221
+ }
2222
+ ],
2223
+ "inheritedFrom": {
2224
+ "name": "OrMapMarker",
2225
+ "module": "src/markers/or-map-marker.ts"
2226
+ }
2227
+ },
2228
+ {
2229
+ "kind": "method",
2230
+ "name": "updateActive",
2231
+ "privacy": "protected",
2232
+ "parameters": [
2233
+ {
2234
+ "name": "container",
2235
+ "optional": true,
2236
+ "type": {
2237
+ "text": "HTMLDivElement"
2238
+ }
2239
+ }
2240
+ ],
2241
+ "inheritedFrom": {
2242
+ "name": "OrMapMarker",
2243
+ "module": "src/markers/or-map-marker.ts"
2244
+ }
2245
+ },
2246
+ {
2247
+ "kind": "method",
2248
+ "name": "updateInteractive",
2249
+ "privacy": "protected",
2250
+ "parameters": [
2251
+ {
2252
+ "name": "container",
2253
+ "optional": true,
2254
+ "type": {
2255
+ "text": "HTMLDivElement"
2256
+ }
2257
+ }
2258
+ ],
2259
+ "inheritedFrom": {
2260
+ "name": "OrMapMarker",
2261
+ "module": "src/markers/or-map-marker.ts"
2262
+ }
2263
+ },
2264
+ {
2265
+ "kind": "method",
2266
+ "name": "refreshMarkerContent",
2267
+ "privacy": "protected",
2268
+ "inheritedFrom": {
2269
+ "name": "OrMapMarker",
2270
+ "module": "src/markers/or-map-marker.ts"
2271
+ }
2272
+ },
2273
+ {
2274
+ "kind": "method",
2275
+ "name": "render",
2276
+ "privacy": "protected",
2277
+ "inheritedFrom": {
2278
+ "name": "OrMapMarker",
2279
+ "module": "src/markers/or-map-marker.ts"
2280
+ }
2281
+ },
2282
+ {
2283
+ "kind": "method",
2284
+ "name": "_raisePropertyChange",
2285
+ "privacy": "protected",
2286
+ "parameters": [
2287
+ {
2288
+ "name": "prop",
2289
+ "type": {
2290
+ "text": "string"
2291
+ }
2292
+ }
2293
+ ],
2294
+ "inheritedFrom": {
2295
+ "name": "OrMapMarker",
2296
+ "module": "src/markers/or-map-marker.ts"
2297
+ }
2298
+ },
2299
+ {
2300
+ "kind": "method",
2301
+ "name": "addMarkerClassNames",
2302
+ "privacy": "protected",
2303
+ "parameters": [
2304
+ {
2305
+ "name": "markerElement",
2306
+ "type": {
2307
+ "text": "HTMLElement"
2308
+ }
2309
+ }
2310
+ ],
2311
+ "inheritedFrom": {
2312
+ "name": "OrMapMarker",
2313
+ "module": "src/markers/or-map-marker.ts"
2314
+ }
2315
+ },
2316
+ {
2317
+ "kind": "method",
2318
+ "name": "addMarkerContainerClassNames",
2319
+ "privacy": "protected",
2320
+ "parameters": [
2321
+ {
2322
+ "name": "markerContainer",
2323
+ "type": {
2324
+ "text": "HTMLElement"
2325
+ }
2326
+ }
2327
+ ],
2328
+ "inheritedFrom": {
2329
+ "name": "OrMapMarker",
2330
+ "module": "src/markers/or-map-marker.ts"
2331
+ }
2332
+ },
2333
+ {
2334
+ "kind": "method",
2335
+ "name": "createDefaultMarkerContent",
2336
+ "privacy": "protected",
2337
+ "return": {
2338
+ "type": {
2339
+ "text": "HTMLElement"
2340
+ }
2341
+ },
2342
+ "inheritedFrom": {
2343
+ "name": "OrMapMarker",
2344
+ "module": "src/markers/or-map-marker.ts"
2345
+ }
2346
+ },
2347
+ {
2348
+ "kind": "method",
2349
+ "name": "hasPosition",
2350
+ "privacy": "public",
2351
+ "return": {
2352
+ "type": {
2353
+ "text": "boolean"
2354
+ }
2355
+ },
2356
+ "inheritedFrom": {
2357
+ "name": "OrMapMarker",
2358
+ "module": "src/markers/or-map-marker.ts"
2359
+ }
2360
+ }
2361
+ ],
2362
+ "mixins": [
2363
+ {
2364
+ "name": "subscribe(manager)",
2365
+ "module": "src/markers/or-map-marker-asset.ts"
2366
+ }
2367
+ ],
2368
+ "superclass": {
2369
+ "name": "OrMapMarker",
2370
+ "module": "/src/markers/or-map-marker"
2371
+ },
2372
+ "events": [
2373
+ {
2374
+ "type": {
2375
+ "text": "OrMapMarkerClickedEvent"
2376
+ },
2377
+ "inheritedFrom": {
2378
+ "name": "OrMapMarker",
2379
+ "module": "src/markers/or-map-marker.ts"
2380
+ }
2381
+ }
2382
+ ]
2383
+ }
2384
+ ],
2385
+ "exports": [
2386
+ {
2387
+ "kind": "js",
2388
+ "name": "getMarkerConfigForAssetType",
2389
+ "declaration": {
2390
+ "name": "getMarkerConfigForAssetType",
2391
+ "module": "src/markers/or-map-marker-asset.ts"
2392
+ }
2393
+ },
2394
+ {
2395
+ "kind": "js",
2396
+ "name": "getMarkerConfigAttributeName",
2397
+ "declaration": {
2398
+ "name": "getMarkerConfigAttributeName",
2399
+ "module": "src/markers/or-map-marker-asset.ts"
2400
+ }
2401
+ },
2402
+ {
2403
+ "kind": "js",
2404
+ "name": "OrMapMarkerAsset",
2405
+ "declaration": {
2406
+ "name": "OrMapMarkerAsset",
2407
+ "module": "src/markers/or-map-marker-asset.ts"
2408
+ }
2409
+ }
2410
+ ]
2411
+ },
2412
+ {
2413
+ "kind": "javascript-module",
2414
+ "path": "src/markers/or-map-marker.ts",
2415
+ "declarations": [
2416
+ {
2417
+ "kind": "class",
2418
+ "description": "",
2419
+ "name": "OrMapMarkerChangedEvent",
2420
+ "members": [
2421
+ {
2422
+ "kind": "field",
2423
+ "name": "NAME",
2424
+ "type": {
2425
+ "text": "string"
2426
+ },
2427
+ "privacy": "public",
2428
+ "static": true,
2429
+ "readonly": true,
2430
+ "default": "\"or-map-marker-changed\""
2431
+ }
2432
+ ],
2433
+ "superclass": {
2434
+ "name": "CustomEvent",
2435
+ "module": "src/markers/or-map-marker.ts"
2436
+ }
2437
+ },
2438
+ {
2439
+ "kind": "class",
2440
+ "description": "",
2441
+ "name": "OrMapMarkerClickedEvent",
2442
+ "members": [
2443
+ {
2444
+ "kind": "field",
2445
+ "name": "NAME",
2446
+ "type": {
2447
+ "text": "string"
2448
+ },
2449
+ "privacy": "public",
2450
+ "static": true,
2451
+ "readonly": true,
2452
+ "default": "\"or-map-marker-clicked\""
2453
+ }
2454
+ ],
2455
+ "superclass": {
2456
+ "name": "CustomEvent",
2457
+ "module": "src/markers/or-map-marker.ts"
2458
+ }
2459
+ },
2460
+ {
2461
+ "kind": "class",
2462
+ "description": "Base class for all map markers.\n\nThis component doesn't directly render anything instead it generates DOM that can be added to the map component",
2463
+ "name": "OrMapMarker",
2464
+ "members": [
2465
+ {
2466
+ "kind": "field",
2467
+ "name": "styles",
2468
+ "type": {
2469
+ "text": "CSSResultGroup"
2470
+ },
2471
+ "static": true,
2472
+ "readonly": true
2473
+ },
2474
+ {
2475
+ "kind": "field",
2476
+ "name": "_defaultTemplate",
2477
+ "privacy": "protected",
2478
+ "static": true
2479
+ },
2480
+ {
2481
+ "kind": "field",
2482
+ "name": "lat",
2483
+ "type": {
2484
+ "text": "number | undefined"
2485
+ },
2486
+ "privacy": "public"
2487
+ },
2488
+ {
2489
+ "kind": "field",
2490
+ "name": "lng",
2491
+ "type": {
2492
+ "text": "number | undefined"
2493
+ },
2494
+ "privacy": "public"
2495
+ },
2496
+ {
2497
+ "kind": "field",
2498
+ "name": "radius",
2499
+ "type": {
2500
+ "text": "number | undefined"
2501
+ },
2502
+ "privacy": "public"
2503
+ },
2504
+ {
2505
+ "kind": "field",
2506
+ "name": "displayValue",
2507
+ "type": {
2508
+ "text": "string | undefined"
2509
+ },
2510
+ "privacy": "public"
2511
+ },
2512
+ {
2513
+ "kind": "field",
2514
+ "name": "direction",
2515
+ "type": {
2516
+ "text": "string | undefined"
2517
+ },
2518
+ "privacy": "public"
2519
+ },
2520
+ {
2521
+ "kind": "field",
2522
+ "name": "visible",
2523
+ "type": {
2524
+ "text": "boolean"
2525
+ },
2526
+ "privacy": "public",
2527
+ "default": "true"
2528
+ },
2529
+ {
2530
+ "kind": "field",
2531
+ "name": "icon",
2532
+ "type": {
2533
+ "text": "string | undefined"
2534
+ },
2535
+ "privacy": "public"
2536
+ },
2537
+ {
2538
+ "kind": "field",
2539
+ "name": "color",
2540
+ "type": {
2541
+ "text": "string | undefined"
2542
+ },
2543
+ "privacy": "public"
2544
+ },
2545
+ {
2546
+ "kind": "field",
2547
+ "name": "activeColor",
2548
+ "type": {
2549
+ "text": "string | undefined"
2550
+ },
2551
+ "privacy": "public"
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "interactive",
2556
+ "type": {
2557
+ "text": "boolean"
2558
+ },
2559
+ "privacy": "public",
2560
+ "default": "true"
2561
+ },
2562
+ {
2563
+ "kind": "field",
2564
+ "name": "active",
2565
+ "type": {
2566
+ "text": "boolean"
2567
+ },
2568
+ "default": "false"
2569
+ },
2570
+ {
2571
+ "kind": "field",
2572
+ "name": "_actualMarkerElement",
2573
+ "type": {
2574
+ "text": "HTMLDivElement | undefined"
2575
+ },
2576
+ "privacy": "public"
2577
+ },
2578
+ {
2579
+ "kind": "field",
2580
+ "name": "_slot",
2581
+ "type": {
2582
+ "text": "HTMLSlotElement | undefined"
2583
+ },
2584
+ "privacy": "protected"
2585
+ },
2586
+ {
2587
+ "kind": "field",
2588
+ "name": "markerContainer",
2589
+ "type": {
2590
+ "text": "HTMLDivElement | undefined"
2591
+ },
2592
+ "privacy": "public",
2593
+ "readonly": true
2594
+ },
2595
+ {
2596
+ "kind": "method",
2597
+ "name": "_onClick",
2598
+ "privacy": "public",
2599
+ "parameters": [
2600
+ {
2601
+ "name": "e",
2602
+ "type": {
2603
+ "text": "MouseEvent"
2604
+ }
2605
+ }
2606
+ ]
2607
+ },
2608
+ {
2609
+ "kind": "method",
2610
+ "name": "_createMarkerElement",
2611
+ "privacy": "public",
2612
+ "return": {
2613
+ "type": {
2614
+ "text": "HTMLDivElement"
2615
+ }
2616
+ }
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "createMarkerContent",
2621
+ "privacy": "public",
2622
+ "return": {
2623
+ "type": {
2624
+ "text": "HTMLElement | undefined"
2625
+ }
2626
+ },
2627
+ "description": "Override in sub types to customise the look of the marker. If undefined returned then a default marker will\nbe used instead."
2628
+ },
2629
+ {
2630
+ "kind": "method",
2631
+ "name": "shouldUpdate",
2632
+ "privacy": "protected",
2633
+ "return": {
2634
+ "type": {
2635
+ "text": "boolean"
2636
+ }
2637
+ },
2638
+ "parameters": [
2639
+ {
2640
+ "name": "_changedProperties",
2641
+ "type": {
2642
+ "text": "PropertyValues"
2643
+ }
2644
+ }
2645
+ ]
2646
+ },
2647
+ {
2648
+ "kind": "method",
2649
+ "name": "updateVisibility",
2650
+ "privacy": "protected",
2651
+ "parameters": [
2652
+ {
2653
+ "name": "container",
2654
+ "optional": true,
2655
+ "type": {
2656
+ "text": "HTMLDivElement"
2657
+ }
2658
+ }
2659
+ ]
2660
+ },
2661
+ {
2662
+ "kind": "method",
2663
+ "name": "getColor",
2664
+ "privacy": "protected"
2665
+ },
2666
+ {
2667
+ "kind": "method",
2668
+ "name": "getActiveColor",
2669
+ "privacy": "protected"
2670
+ },
2671
+ {
2672
+ "kind": "method",
2673
+ "name": "updateColor",
2674
+ "privacy": "protected",
2675
+ "parameters": [
2676
+ {
2677
+ "name": "container",
2678
+ "optional": true,
2679
+ "type": {
2680
+ "text": "HTMLDivElement"
2681
+ }
2682
+ }
2683
+ ]
2684
+ },
2685
+ {
2686
+ "kind": "method",
2687
+ "name": "updateActive",
2688
+ "privacy": "protected",
2689
+ "parameters": [
2690
+ {
2691
+ "name": "container",
2692
+ "optional": true,
2693
+ "type": {
2694
+ "text": "HTMLDivElement"
2695
+ }
2696
+ }
2697
+ ]
2698
+ },
2699
+ {
2700
+ "kind": "method",
2701
+ "name": "updateInteractive",
2702
+ "privacy": "protected",
2703
+ "parameters": [
2704
+ {
2705
+ "name": "container",
2706
+ "optional": true,
2707
+ "type": {
2708
+ "text": "HTMLDivElement"
2709
+ }
2710
+ }
2711
+ ]
2712
+ },
2713
+ {
2714
+ "kind": "method",
2715
+ "name": "refreshMarkerContent",
2716
+ "privacy": "protected"
2717
+ },
2718
+ {
2719
+ "kind": "method",
2720
+ "name": "render",
2721
+ "privacy": "protected"
2722
+ },
2723
+ {
2724
+ "kind": "method",
2725
+ "name": "_raisePropertyChange",
2726
+ "privacy": "protected",
2727
+ "parameters": [
2728
+ {
2729
+ "name": "prop",
2730
+ "type": {
2731
+ "text": "string"
2732
+ }
2733
+ }
2734
+ ]
2735
+ },
2736
+ {
2737
+ "kind": "method",
2738
+ "name": "addMarkerClassNames",
2739
+ "privacy": "protected",
2740
+ "parameters": [
2741
+ {
2742
+ "name": "markerElement",
2743
+ "type": {
2744
+ "text": "HTMLElement"
2745
+ }
2746
+ }
2747
+ ]
2748
+ },
2749
+ {
2750
+ "kind": "method",
2751
+ "name": "addMarkerContainerClassNames",
2752
+ "privacy": "protected",
2753
+ "parameters": [
2754
+ {
2755
+ "name": "markerContainer",
2756
+ "type": {
2757
+ "text": "HTMLElement"
2758
+ }
2759
+ }
2760
+ ]
2761
+ },
2762
+ {
2763
+ "kind": "method",
2764
+ "name": "createDefaultMarkerContent",
2765
+ "privacy": "protected",
2766
+ "return": {
2767
+ "type": {
2768
+ "text": "HTMLElement"
2769
+ }
2770
+ }
2771
+ },
2772
+ {
2773
+ "kind": "method",
2774
+ "name": "hasPosition",
2775
+ "privacy": "public",
2776
+ "return": {
2777
+ "type": {
2778
+ "text": "boolean"
2779
+ }
2780
+ }
2781
+ }
2782
+ ],
2783
+ "events": [
2784
+ {
2785
+ "type": {
2786
+ "text": "OrMapMarkerClickedEvent"
2787
+ }
2788
+ }
2789
+ ],
2790
+ "superclass": {
2791
+ "name": "LitElement",
2792
+ "package": "lit"
2793
+ },
2794
+ "customElement": true
2795
+ }
2796
+ ],
2797
+ "exports": [
2798
+ {
2799
+ "kind": "js",
2800
+ "name": "OrMapMarkerChangedEvent",
2801
+ "declaration": {
2802
+ "name": "OrMapMarkerChangedEvent",
2803
+ "module": "src/markers/or-map-marker.ts"
2804
+ }
2805
+ },
2806
+ {
2807
+ "kind": "js",
2808
+ "name": "OrMapMarkerClickedEvent",
2809
+ "declaration": {
2810
+ "name": "OrMapMarkerClickedEvent",
2811
+ "module": "src/markers/or-map-marker.ts"
2812
+ }
2813
+ },
2814
+ {
2815
+ "kind": "js",
2816
+ "name": "OrMapMarker",
2817
+ "declaration": {
2818
+ "name": "OrMapMarker",
2819
+ "module": "src/markers/or-map-marker.ts"
2820
+ }
2821
+ }
2822
+ ]
2823
+ }
2824
+ ]
2825
+ }