@openremote/or-map 1.7.0-snapshot.20250528061925 → 1.7.0-snapshot.20250530120018

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.
@@ -279,20 +279,14 @@
279
279
  "description": "",
280
280
  "name": "OrMap",
281
281
  "members": [
282
- {
283
- "kind": "field",
284
- "name": "styles",
285
- "privacy": "public",
286
- "static": true,
287
- "default": "style"
288
- },
289
282
  {
290
283
  "kind": "field",
291
284
  "name": "type",
292
285
  "type": {
293
286
  "text": "MapType"
294
287
  },
295
- "privacy": "public"
288
+ "privacy": "public",
289
+ "attribute": "type"
296
290
  },
297
291
  {
298
292
  "kind": "field",
@@ -309,7 +303,8 @@
309
303
  "type": {
310
304
  "text": "LngLatLike | undefined"
311
305
  },
312
- "privacy": "public"
306
+ "privacy": "public",
307
+ "attribute": "center"
313
308
  },
314
309
  {
315
310
  "kind": "field",
@@ -317,7 +312,8 @@
317
312
  "type": {
318
313
  "text": "number | undefined"
319
314
  },
320
- "privacy": "public"
315
+ "privacy": "public",
316
+ "attribute": "zoom"
321
317
  },
322
318
  {
323
319
  "kind": "field",
@@ -326,7 +322,8 @@
326
322
  "text": "boolean"
327
323
  },
328
324
  "privacy": "public",
329
- "default": "false"
325
+ "default": "false",
326
+ "attribute": "showGeoCodingControl"
330
327
  },
331
328
  {
332
329
  "kind": "field",
@@ -335,7 +332,8 @@
335
332
  "text": "boolean"
336
333
  },
337
334
  "privacy": "public",
338
- "default": "false"
335
+ "default": "false",
336
+ "attribute": "showBoundaryBoxControl"
339
337
  },
340
338
  {
341
339
  "kind": "field",
@@ -344,7 +342,8 @@
344
342
  "text": "boolean"
345
343
  },
346
344
  "privacy": "public",
347
- "default": "true"
345
+ "default": "true",
346
+ "attribute": "useZoomControl"
348
347
  },
349
348
  {
350
349
  "kind": "field",
@@ -352,7 +351,8 @@
352
351
  "type": {
353
352
  "text": "GeoJsonConfig | undefined"
354
353
  },
355
- "privacy": "public"
354
+ "privacy": "public",
355
+ "attribute": "geoJson"
356
356
  },
357
357
  {
358
358
  "kind": "field",
@@ -361,7 +361,8 @@
361
361
  "text": "boolean"
362
362
  },
363
363
  "privacy": "public",
364
- "default": "true"
364
+ "default": "true",
365
+ "attribute": "showGeoJson"
365
366
  },
366
367
  {
367
368
  "kind": "field",
@@ -370,7 +371,8 @@
370
371
  "text": "string[]"
371
372
  },
372
373
  "privacy": "public",
373
- "default": "[]"
374
+ "default": "[]",
375
+ "attribute": "boundary"
374
376
  },
375
377
  {
376
378
  "kind": "field",
@@ -446,24 +448,6 @@
446
448
  },
447
449
  "privacy": "protected"
448
450
  },
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
451
  {
468
452
  "kind": "field",
469
453
  "name": "markers",
@@ -473,24 +457,6 @@
473
457
  "privacy": "public",
474
458
  "readonly": true
475
459
  },
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
460
  {
495
461
  "kind": "method",
496
462
  "name": "refresh",
@@ -567,10 +533,81 @@
567
533
  ]
568
534
  }
569
535
  ],
536
+ "attributes": [
537
+ {
538
+ "name": "type",
539
+ "type": {
540
+ "text": "MapType"
541
+ },
542
+ "fieldName": "type"
543
+ },
544
+ {
545
+ "name": "center",
546
+ "type": {
547
+ "text": "LngLatLike | undefined"
548
+ },
549
+ "fieldName": "center"
550
+ },
551
+ {
552
+ "name": "zoom",
553
+ "type": {
554
+ "text": "number | undefined"
555
+ },
556
+ "fieldName": "zoom"
557
+ },
558
+ {
559
+ "name": "showGeoCodingControl",
560
+ "type": {
561
+ "text": "boolean"
562
+ },
563
+ "default": "false",
564
+ "fieldName": "showGeoCodingControl"
565
+ },
566
+ {
567
+ "name": "showBoundaryBoxControl",
568
+ "type": {
569
+ "text": "boolean"
570
+ },
571
+ "default": "false",
572
+ "fieldName": "showBoundaryBoxControl"
573
+ },
574
+ {
575
+ "name": "useZoomControl",
576
+ "type": {
577
+ "text": "boolean"
578
+ },
579
+ "default": "true",
580
+ "fieldName": "useZoomControl"
581
+ },
582
+ {
583
+ "name": "geoJson",
584
+ "type": {
585
+ "text": "GeoJsonConfig | undefined"
586
+ },
587
+ "fieldName": "geoJson"
588
+ },
589
+ {
590
+ "name": "showGeoJson",
591
+ "type": {
592
+ "text": "boolean"
593
+ },
594
+ "default": "true",
595
+ "fieldName": "showGeoJson"
596
+ },
597
+ {
598
+ "name": "boundary",
599
+ "type": {
600
+ "text": "string[]"
601
+ },
602
+ "default": "[]",
603
+ "fieldName": "boundary"
604
+ }
605
+ ],
570
606
  "superclass": {
571
607
  "name": "LitElement",
572
608
  "package": "lit"
573
609
  },
610
+ "tagName": "or-map",
574
611
  "customElement": true
575
612
  }
576
613
  ],
@@ -686,6 +723,14 @@
686
723
  "name": "OrMap",
687
724
  "module": "src/index.ts"
688
725
  }
726
+ },
727
+ {
728
+ "kind": "custom-element-definition",
729
+ "name": "or-map",
730
+ "declaration": {
731
+ "name": "OrMap",
732
+ "module": "src/index.ts"
733
+ }
689
734
  }
690
735
  ]
691
736
  },
@@ -1381,7 +1426,9 @@
1381
1426
  "type": {
1382
1427
  "text": "string | undefined"
1383
1428
  },
1384
- "privacy": "public"
1429
+ "privacy": "public",
1430
+ "attribute": "assetId",
1431
+ "reflects": true
1385
1432
  },
1386
1433
  {
1387
1434
  "kind": "field",
@@ -1389,7 +1436,8 @@
1389
1436
  "type": {
1390
1437
  "text": "Asset | undefined"
1391
1438
  },
1392
- "privacy": "public"
1439
+ "privacy": "public",
1440
+ "attribute": "asset"
1393
1441
  },
1394
1442
  {
1395
1443
  "kind": "field",
@@ -1397,7 +1445,8 @@
1397
1445
  "type": {
1398
1446
  "text": "MapAssetCardConfig | undefined"
1399
1447
  },
1400
- "privacy": "public"
1448
+ "privacy": "public",
1449
+ "attribute": "config"
1401
1450
  },
1402
1451
  {
1403
1452
  "kind": "field",
@@ -1405,7 +1454,8 @@
1405
1454
  "type": {
1406
1455
  "text": "MapMarkerAssetConfig | undefined"
1407
1456
  },
1408
- "privacy": "public"
1457
+ "privacy": "public",
1458
+ "attribute": "markerconfig"
1409
1459
  },
1410
1460
  {
1411
1461
  "kind": "field",
@@ -1414,34 +1464,8 @@
1414
1464
  "text": "boolean"
1415
1465
  },
1416
1466
  "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
- ]
1467
+ "default": "true",
1468
+ "attribute": "useAssetColor"
1445
1469
  },
1446
1470
  {
1447
1471
  "kind": "method",
@@ -1466,16 +1490,6 @@
1466
1490
  }
1467
1491
  }
1468
1492
  },
1469
- {
1470
- "kind": "method",
1471
- "name": "render",
1472
- "privacy": "protected",
1473
- "return": {
1474
- "type": {
1475
- "text": "TemplateResult | undefined"
1476
- }
1477
- }
1478
- },
1479
1493
  {
1480
1494
  "kind": "method",
1481
1495
  "name": "_loadAsset",
@@ -1518,6 +1532,44 @@
1518
1532
  }
1519
1533
  }
1520
1534
  ],
1535
+ "attributes": [
1536
+ {
1537
+ "name": "assetId",
1538
+ "type": {
1539
+ "text": "string | undefined"
1540
+ },
1541
+ "fieldName": "assetId"
1542
+ },
1543
+ {
1544
+ "name": "asset",
1545
+ "type": {
1546
+ "text": "Asset | undefined"
1547
+ },
1548
+ "fieldName": "asset"
1549
+ },
1550
+ {
1551
+ "name": "config",
1552
+ "type": {
1553
+ "text": "MapAssetCardConfig | undefined"
1554
+ },
1555
+ "fieldName": "config"
1556
+ },
1557
+ {
1558
+ "name": "markerconfig",
1559
+ "type": {
1560
+ "text": "MapMarkerAssetConfig | undefined"
1561
+ },
1562
+ "fieldName": "markerconfig"
1563
+ },
1564
+ {
1565
+ "name": "useAssetColor",
1566
+ "type": {
1567
+ "text": "boolean"
1568
+ },
1569
+ "default": "true",
1570
+ "fieldName": "useAssetColor"
1571
+ }
1572
+ ],
1521
1573
  "mixins": [
1522
1574
  {
1523
1575
  "name": "subscribe(manager)",
@@ -1528,6 +1580,7 @@
1528
1580
  "name": "LitElement",
1529
1581
  "package": "lit"
1530
1582
  },
1583
+ "tagName": "or-map-asset-card",
1531
1584
  "customElement": true
1532
1585
  }
1533
1586
  ],
@@ -1555,6 +1608,14 @@
1555
1608
  "name": "OrMapAssetCard",
1556
1609
  "module": "src/or-map-asset-card.ts"
1557
1610
  }
1611
+ },
1612
+ {
1613
+ "kind": "custom-element-definition",
1614
+ "name": "or-map-asset-card",
1615
+ "declaration": {
1616
+ "name": "OrMapAssetCard",
1617
+ "module": "src/or-map-asset-card.ts"
1618
+ }
1558
1619
  }
1559
1620
  ]
1560
1621
  },
@@ -1766,1060 +1827,6 @@
1766
1827
  }
1767
1828
  }
1768
1829
  ]
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
1830
  }
2824
1831
  ]
2825
1832
  }