@rio-cloud/uikit-mcp 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/README.md +75 -40
  2. package/dist/doc-metadata.json +1872 -0
  3. package/dist/docs/components/accentBar.md +582 -0
  4. package/dist/docs/components/activity.md +330 -0
  5. package/dist/docs/components/animatedNumber.md +88 -0
  6. package/dist/docs/components/animatedTextReveal.md +381 -0
  7. package/dist/docs/components/animations.md +459 -0
  8. package/dist/docs/components/appHeader.md +737 -0
  9. package/dist/docs/components/appLayout.md +2016 -0
  10. package/dist/docs/components/appNavigationBar.md +274 -0
  11. package/dist/docs/components/areaCharts.md +828 -0
  12. package/dist/docs/components/aspectRatioPlaceholder.md +106 -0
  13. package/dist/docs/components/assetTree.md +3223 -0
  14. package/dist/docs/components/autosuggests.md +1177 -0
  15. package/dist/docs/components/avatar.md +206 -0
  16. package/dist/docs/components/banner.md +668 -0
  17. package/dist/docs/components/barCharts.md +2785 -0
  18. package/dist/docs/components/barList.md +517 -0
  19. package/dist/docs/components/basicMap.md +167 -0
  20. package/dist/docs/components/bottomSheet.md +721 -0
  21. package/dist/docs/components/button.md +775 -0
  22. package/dist/docs/components/buttonToolbar.md +134 -0
  23. package/dist/docs/components/calendarStripe.md +525 -0
  24. package/dist/docs/components/card.md +86 -0
  25. package/dist/docs/components/carousel.md +128 -0
  26. package/dist/docs/components/chartColors.md +716 -0
  27. package/dist/docs/components/chartsGettingStarted.md +28 -0
  28. package/dist/docs/components/chat.md +932 -0
  29. package/dist/docs/components/checkbox.md +996 -0
  30. package/dist/docs/components/clearableInput.md +806 -0
  31. package/dist/docs/components/collapse.md +189 -0
  32. package/dist/docs/components/composedCharts.md +424 -0
  33. package/dist/docs/components/contentLoader.md +674 -0
  34. package/dist/docs/components/dataTabs.md +1251 -0
  35. package/dist/docs/components/datepickers.md +2543 -0
  36. package/dist/docs/components/dialogs.md +2244 -0
  37. package/dist/docs/components/divider.md +219 -0
  38. package/dist/docs/components/dropdowns.md +17550 -0
  39. package/dist/docs/components/editableContent.md +1127 -0
  40. package/dist/docs/components/expander.md +970 -0
  41. package/dist/docs/components/fade.md +836 -0
  42. package/dist/docs/components/fadeExpander.md +180 -0
  43. package/dist/docs/components/fadeUp.md +396 -0
  44. package/dist/docs/components/feedback.md +758 -0
  45. package/dist/docs/components/filePickers.md +370 -0
  46. package/dist/docs/components/formLabel.md +251 -0
  47. package/dist/docs/components/fullscreenMap.md +10 -0
  48. package/dist/docs/components/groupedItemList.md +1001 -0
  49. package/dist/docs/components/iconList.md +306 -0
  50. package/dist/docs/components/imagePreloader.md +167 -0
  51. package/dist/docs/components/labeledElement.md +115 -0
  52. package/dist/docs/components/licensePlate.md +412 -0
  53. package/dist/docs/components/lineCharts.md +2014 -0
  54. package/dist/docs/components/listMenu.md +392 -0
  55. package/dist/docs/components/loadMore.md +219 -0
  56. package/dist/docs/components/mainNavigation.md +129 -0
  57. package/dist/docs/components/mapCircle.md +93 -0
  58. package/dist/docs/components/mapCluster.md +337 -0
  59. package/dist/docs/components/mapContext.md +284 -0
  60. package/dist/docs/components/mapDraggableMarker.md +150 -0
  61. package/dist/docs/components/mapGettingStarted.md +39 -0
  62. package/dist/docs/components/mapInfoBubble.md +135 -0
  63. package/dist/docs/components/mapLayerGroup.md +94 -0
  64. package/dist/docs/components/mapMarker.md +1814 -0
  65. package/dist/docs/components/mapPolygon.md +959 -0
  66. package/dist/docs/components/mapRoute.md +3816 -0
  67. package/dist/docs/components/mapRouteGenerator.md +6 -0
  68. package/dist/docs/components/mapSettings.md +1040 -0
  69. package/dist/docs/components/mapUtils.md +132 -0
  70. package/dist/docs/components/multiselects.md +1921 -0
  71. package/dist/docs/components/noData.md +210 -0
  72. package/dist/docs/components/notifications.md +314 -0
  73. package/dist/docs/components/numbercontrol.md +706 -0
  74. package/dist/docs/components/onboarding.md +297 -0
  75. package/dist/docs/components/page.md +241 -0
  76. package/dist/docs/components/pager.md +133 -0
  77. package/dist/docs/components/pieCharts.md +1284 -0
  78. package/dist/docs/components/popover.md +222 -0
  79. package/dist/docs/components/position.md +50 -0
  80. package/dist/docs/components/radialBarCharts.md +3663 -0
  81. package/dist/docs/components/radiobutton.md +1271 -0
  82. package/dist/docs/components/releaseNotes.md +135 -0
  83. package/dist/docs/components/resizer.md +162 -0
  84. package/dist/docs/components/responsiveColumnStripe.md +435 -0
  85. package/dist/docs/components/responsiveVideo.md +71 -0
  86. package/dist/docs/components/rioglyph.md +331 -0
  87. package/dist/docs/components/rules.md +965 -0
  88. package/dist/docs/components/saveableInput.md +1721 -0
  89. package/dist/docs/components/selects.md +1993 -0
  90. package/dist/docs/components/sidebar.md +332 -0
  91. package/dist/docs/components/sliders.md +376 -0
  92. package/dist/docs/components/smoothScrollbars.md +1180 -0
  93. package/dist/docs/components/spinners.md +506 -0
  94. package/dist/docs/components/states.md +1176 -0
  95. package/dist/docs/components/statsWidgets.md +636 -0
  96. package/dist/docs/components/statusBar.md +644 -0
  97. package/dist/docs/components/stepButton.md +61 -0
  98. package/dist/docs/components/steppedProgressBars.md +1064 -0
  99. package/dist/docs/components/subNavigation.md +470 -0
  100. package/dist/docs/components/supportMarker.md +115 -0
  101. package/dist/docs/components/svgImage.md +248 -0
  102. package/dist/docs/components/switch.md +554 -0
  103. package/dist/docs/components/tables.md +8 -0
  104. package/dist/docs/components/tagManager.md +476 -0
  105. package/dist/docs/components/tags.md +785 -0
  106. package/dist/docs/components/teaser.md +925 -0
  107. package/dist/docs/components/timeline.md +514 -0
  108. package/dist/docs/components/timepicker.md +262 -0
  109. package/dist/docs/components/toggleButton.md +178 -0
  110. package/dist/docs/components/tooltip.md +454 -0
  111. package/dist/docs/components/virtualList.md +483 -0
  112. package/dist/docs/foundations.md +20901 -0
  113. package/dist/docs/start/changelog.md +439 -0
  114. package/dist/docs/start/goodtoknow.md +14 -0
  115. package/dist/docs/start/guidelines/color-combinations.md +678 -0
  116. package/dist/docs/start/guidelines/custom-css.md +42 -0
  117. package/dist/docs/start/guidelines/custom-rioglyph.md +35 -0
  118. package/dist/docs/start/guidelines/formatting.md +587 -0
  119. package/dist/docs/start/guidelines/iframe.md +323 -0
  120. package/dist/docs/start/guidelines/obfuscate-data.md +30 -0
  121. package/dist/docs/start/guidelines/print-css.md +36 -0
  122. package/dist/docs/start/guidelines/spinner.md +710 -0
  123. package/dist/docs/start/guidelines/supported-browsers.md +10 -0
  124. package/dist/docs/start/guidelines/writing.md +635 -0
  125. package/dist/docs/start/howto.md +187 -0
  126. package/dist/docs/start/intro.md +43 -0
  127. package/dist/docs/start/responsiveness.md +98 -0
  128. package/dist/docs/templates/common-table.md +1111 -0
  129. package/dist/docs/templates/detail-views.md +942 -0
  130. package/dist/docs/templates/expandable-details.md +228 -0
  131. package/dist/docs/templates/feature-cards.md +549 -0
  132. package/dist/docs/templates/form-summary.md +199 -0
  133. package/dist/docs/templates/form-toggle.md +367 -0
  134. package/dist/docs/templates/list-blocks.md +1021 -0
  135. package/dist/docs/templates/loading-progress.md +109 -0
  136. package/dist/docs/templates/options-panel.md +152 -0
  137. package/dist/docs/templates/panel-variants.md +164 -0
  138. package/dist/docs/templates/progress-cards.md +607 -0
  139. package/dist/docs/templates/progress-success.md +142 -0
  140. package/dist/docs/templates/settings-form.md +434 -0
  141. package/dist/docs/templates/stats-blocks.md +1381 -0
  142. package/dist/docs/templates/table-panel.md +184 -0
  143. package/dist/docs/templates/table-row-animation.md +317 -0
  144. package/dist/docs/templates/usage-cards.md +227 -0
  145. package/dist/docs/utilities/deviceUtils.md +123 -0
  146. package/dist/docs/utilities/featureToggles.md +90 -0
  147. package/dist/docs/utilities/fuelTypeUtils.md +186 -0
  148. package/dist/docs/utilities/routeUtils.md +138 -0
  149. package/dist/docs/utilities/useAfterMount.md +66 -0
  150. package/dist/docs/utilities/useAutoAnimate.md +193 -0
  151. package/dist/docs/utilities/useAverage.md +95 -0
  152. package/dist/docs/utilities/useClickOutside.md +61 -0
  153. package/dist/docs/utilities/useClipboard.md +93 -0
  154. package/dist/docs/utilities/useCount.md +178 -0
  155. package/dist/docs/utilities/useDarkMode.md +49 -0
  156. package/dist/docs/utilities/useDebugInfo.md +126 -0
  157. package/dist/docs/utilities/useEffectOnce.md +58 -0
  158. package/dist/docs/utilities/useElapsedTime.md +58 -0
  159. package/dist/docs/utilities/useElementSize.md +71 -0
  160. package/dist/docs/utilities/useEsc.md +58 -0
  161. package/dist/docs/utilities/useEvent.md +64 -0
  162. package/dist/docs/utilities/useFocusTrap.md +85 -0
  163. package/dist/docs/utilities/useFullscreen.md +198 -0
  164. package/dist/docs/utilities/useHover.md +55 -0
  165. package/dist/docs/utilities/useIncomingPostMessages.md +237 -0
  166. package/dist/docs/utilities/useInterval.md +85 -0
  167. package/dist/docs/utilities/useIsFocusWithin.md +114 -0
  168. package/dist/docs/utilities/useKey.md +151 -0
  169. package/dist/docs/utilities/useLocalStorage.md +91 -0
  170. package/dist/docs/utilities/useLocationSuggestions.md +114 -0
  171. package/dist/docs/utilities/useMax.md +62 -0
  172. package/dist/docs/utilities/useMin.md +78 -0
  173. package/dist/docs/utilities/useMutationObserver.md +113 -0
  174. package/dist/docs/utilities/useOnScreen.md +138 -0
  175. package/dist/docs/utilities/useOnlineStatus.md +49 -0
  176. package/dist/docs/utilities/usePostMessage.md +117 -0
  177. package/dist/docs/utilities/usePostMessageSender.md +257 -0
  178. package/dist/docs/utilities/usePrevious.md +101 -0
  179. package/dist/docs/utilities/useResizeObserver.md +151 -0
  180. package/dist/docs/utilities/useScrollPosition.md +252 -0
  181. package/dist/docs/utilities/useSearch.md +228 -0
  182. package/dist/docs/utilities/useSorting.md +389 -0
  183. package/dist/docs/utilities/useStateWithValidation.md +83 -0
  184. package/dist/docs/utilities/useSum.md +155 -0
  185. package/dist/docs/utilities/useTableExport.md +404 -0
  186. package/dist/docs/utilities/useTableSelection.md +1120 -0
  187. package/dist/docs/utilities/useTimeout.md +55 -0
  188. package/dist/docs/utilities/useToggle.md +115 -0
  189. package/dist/docs/utilities/useWindowResize.md +70 -0
  190. package/dist/index.mjs +271 -0
  191. package/dist/search-synonyms.json +134 -0
  192. package/dist/version.json +4 -0
  193. package/package.json +23 -19
  194. package/bin/uikit-mcp.mjs +0 -23
  195. package/data/pages/Components/components/accentbar.json +0 -207
  196. package/data/pages/Components/components/activity.json +0 -87
  197. package/data/pages/Components/components/animatednumber.json +0 -99
  198. package/data/pages/Components/components/animations.json +0 -87
  199. package/data/pages/Components/components/appheader.json +0 -291
  200. package/data/pages/Components/components/applayout.json +0 -1198
  201. package/data/pages/Components/components/appnavigationbar.json +0 -327
  202. package/data/pages/Components/components/areacharts.json +0 -563
  203. package/data/pages/Components/components/aspectratioplaceholder.json +0 -75
  204. package/data/pages/Components/components/assettree.json +0 -3080
  205. package/data/pages/Components/components/autosuggests.json +0 -710
  206. package/data/pages/Components/components/avatar.json +0 -157
  207. package/data/pages/Components/components/banner.json +0 -599
  208. package/data/pages/Components/components/barcharts.json +0 -1507
  209. package/data/pages/Components/components/barlist.json +0 -223
  210. package/data/pages/Components/components/basicmap.json +0 -68
  211. package/data/pages/Components/components/bottomsheet.json +0 -601
  212. package/data/pages/Components/components/button.json +0 -583
  213. package/data/pages/Components/components/buttontoolbar.json +0 -63
  214. package/data/pages/Components/components/calendarstripe.json +0 -235
  215. package/data/pages/Components/components/card.json +0 -69
  216. package/data/pages/Components/components/carousel.json +0 -39
  217. package/data/pages/Components/components/chartcolors.json +0 -34
  218. package/data/pages/Components/components/chartsgettingstarted.json +0 -32
  219. package/data/pages/Components/components/chat.json +0 -39
  220. package/data/pages/Components/components/checkbox.json +0 -847
  221. package/data/pages/Components/components/clearableinput.json +0 -789
  222. package/data/pages/Components/components/collapse.json +0 -175
  223. package/data/pages/Components/components/composedcharts.json +0 -159
  224. package/data/pages/Components/components/contentloader.json +0 -233
  225. package/data/pages/Components/components/datatabs.json +0 -680
  226. package/data/pages/Components/components/datepickers.json +0 -287
  227. package/data/pages/Components/components/dialogs.json +0 -1492
  228. package/data/pages/Components/components/divider.json +0 -93
  229. package/data/pages/Components/components/dropdowns.json +0 -936
  230. package/data/pages/Components/components/editablecontent.json +0 -1117
  231. package/data/pages/Components/components/expander.json +0 -377
  232. package/data/pages/Components/components/fade.json +0 -403
  233. package/data/pages/Components/components/fadeexpander.json +0 -75
  234. package/data/pages/Components/components/fadeup.json +0 -127
  235. package/data/pages/Components/components/feedback.json +0 -269
  236. package/data/pages/Components/components/filepickers.json +0 -269
  237. package/data/pages/Components/components/formlabel.json +0 -115
  238. package/data/pages/Components/components/fullscreenmap.json +0 -22
  239. package/data/pages/Components/components/groupeditemlist.json +0 -323
  240. package/data/pages/Components/components/iconlist.json +0 -45
  241. package/data/pages/Components/components/imagepreloader.json +0 -81
  242. package/data/pages/Components/components/labeledelement.json +0 -75
  243. package/data/pages/Components/components/licenseplate.json +0 -69
  244. package/data/pages/Components/components/linecharts.json +0 -987
  245. package/data/pages/Components/components/listmenu.json +0 -313
  246. package/data/pages/Components/components/loadmore.json +0 -175
  247. package/data/pages/Components/components/mainnavigation.json +0 -39
  248. package/data/pages/Components/components/mapcircle.json +0 -34
  249. package/data/pages/Components/components/mapcluster.json +0 -51
  250. package/data/pages/Components/components/mapcontext.json +0 -105
  251. package/data/pages/Components/components/mapdraggablemarker.json +0 -34
  252. package/data/pages/Components/components/mapgettingstarted.json +0 -27
  253. package/data/pages/Components/components/mapgroup.json +0 -1198
  254. package/data/pages/Components/components/mapinfobubble.json +0 -34
  255. package/data/pages/Components/components/maplayergroup.json +0 -34
  256. package/data/pages/Components/components/mapmarker.json +0 -700
  257. package/data/pages/Components/components/mappolygon.json +0 -45
  258. package/data/pages/Components/components/maproute.json +0 -623
  259. package/data/pages/Components/components/maproutegenerator.json +0 -16
  260. package/data/pages/Components/components/mapsettings.json +0 -51
  261. package/data/pages/Components/components/maputils.json +0 -34
  262. package/data/pages/Components/components/multiselects.json +0 -1451
  263. package/data/pages/Components/components/nodata.json +0 -139
  264. package/data/pages/Components/components/notifications.json +0 -65
  265. package/data/pages/Components/components/numbercontrol.json +0 -301
  266. package/data/pages/Components/components/onboarding.json +0 -302
  267. package/data/pages/Components/components/page.json +0 -197
  268. package/data/pages/Components/components/pager.json +0 -93
  269. package/data/pages/Components/components/piecharts.json +0 -731
  270. package/data/pages/Components/components/popover.json +0 -251
  271. package/data/pages/Components/components/position.json +0 -69
  272. package/data/pages/Components/components/radialbarcharts.json +0 -1304
  273. package/data/pages/Components/components/radiobutton.json +0 -1105
  274. package/data/pages/Components/components/releasenotes.json +0 -44
  275. package/data/pages/Components/components/resizer.json +0 -93
  276. package/data/pages/Components/components/responsivecolumnstripe.json +0 -123
  277. package/data/pages/Components/components/responsivevideo.json +0 -75
  278. package/data/pages/Components/components/rioglyph.json +0 -93
  279. package/data/pages/Components/components/rules.json +0 -410
  280. package/data/pages/Components/components/saveableinput.json +0 -703
  281. package/data/pages/Components/components/selects.json +0 -701
  282. package/data/pages/Components/components/sidebar.json +0 -243
  283. package/data/pages/Components/components/sliders.json +0 -235
  284. package/data/pages/Components/components/smoothscrollbars.json +0 -335
  285. package/data/pages/Components/components/spinners.json +0 -343
  286. package/data/pages/Components/components/states.json +0 -1705
  287. package/data/pages/Components/components/statswidgets.json +0 -314
  288. package/data/pages/Components/components/statusbar.json +0 -177
  289. package/data/pages/Components/components/stepbutton.json +0 -57
  290. package/data/pages/Components/components/steppedprogressbars.json +0 -417
  291. package/data/pages/Components/components/subnavigation.json +0 -107
  292. package/data/pages/Components/components/supportmarker.json +0 -45
  293. package/data/pages/Components/components/svgimage.json +0 -81
  294. package/data/pages/Components/components/switch.json +0 -111
  295. package/data/pages/Components/components/tables.json +0 -144
  296. package/data/pages/Components/components/tagmanager.json +0 -86
  297. package/data/pages/Components/components/tags.json +0 -146
  298. package/data/pages/Components/components/teaser.json +0 -188
  299. package/data/pages/Components/components/timeline.json +0 -45
  300. package/data/pages/Components/components/timepicker.json +0 -163
  301. package/data/pages/Components/components/togglebutton.json +0 -247
  302. package/data/pages/Components/components/tooltip.json +0 -270
  303. package/data/pages/Components/components/virtuallist.json +0 -175
  304. package/data/pages/Foundations/foundations.json +0 -2475
  305. package/data/pages/Getting-started/start/changelog.json +0 -22
  306. package/data/pages/Getting-started/start/goodtoknow.json +0 -32
  307. package/data/pages/Getting-started/start/guidelines/color-combinations.json +0 -58
  308. package/data/pages/Getting-started/start/guidelines/custom-css.json +0 -27
  309. package/data/pages/Getting-started/start/guidelines/custom-rioglyph.json +0 -22
  310. package/data/pages/Getting-started/start/guidelines/formatting.json +0 -97
  311. package/data/pages/Getting-started/start/guidelines/iframe.json +0 -93
  312. package/data/pages/Getting-started/start/guidelines/obfuscate-data.json +0 -22
  313. package/data/pages/Getting-started/start/guidelines/print-css.json +0 -37
  314. package/data/pages/Getting-started/start/guidelines/spinner.json +0 -144
  315. package/data/pages/Getting-started/start/guidelines/supported-browsers.json +0 -22
  316. package/data/pages/Getting-started/start/guidelines/writing.json +0 -242
  317. package/data/pages/Getting-started/start/howto.json +0 -72
  318. package/data/pages/Getting-started/start/intro.json +0 -37
  319. package/data/pages/Getting-started/start/responsiveness.json +0 -52
  320. package/data/pages/Templates/templates/common-table.json +0 -39
  321. package/data/pages/Templates/templates/detail-views.json +0 -71
  322. package/data/pages/Templates/templates/expandable-details.json +0 -39
  323. package/data/pages/Templates/templates/feature-cards.json +0 -103
  324. package/data/pages/Templates/templates/form-summary.json +0 -39
  325. package/data/pages/Templates/templates/form-toggle.json +0 -39
  326. package/data/pages/Templates/templates/list-blocks.json +0 -119
  327. package/data/pages/Templates/templates/loading-progress.json +0 -39
  328. package/data/pages/Templates/templates/options-panel.json +0 -39
  329. package/data/pages/Templates/templates/panel-variants.json +0 -39
  330. package/data/pages/Templates/templates/progress-cards.json +0 -71
  331. package/data/pages/Templates/templates/progress-success.json +0 -39
  332. package/data/pages/Templates/templates/settings-form.json +0 -39
  333. package/data/pages/Templates/templates/stats-blocks.json +0 -135
  334. package/data/pages/Templates/templates/table-panel.json +0 -39
  335. package/data/pages/Templates/templates/table-row-animation.json +0 -39
  336. package/data/pages/Templates/templates/usage-cards.json +0 -39
  337. package/data/pages/Utilities/utilities/deviceutils.json +0 -39
  338. package/data/pages/Utilities/utilities/featuretoggles.json +0 -42
  339. package/data/pages/Utilities/utilities/fueltypeutils.json +0 -118
  340. package/data/pages/Utilities/utilities/routeutils.json +0 -34
  341. package/data/pages/Utilities/utilities/useaftermount.json +0 -63
  342. package/data/pages/Utilities/utilities/useaverage.json +0 -86
  343. package/data/pages/Utilities/utilities/useclickoutside.json +0 -69
  344. package/data/pages/Utilities/utilities/useclipboard.json +0 -57
  345. package/data/pages/Utilities/utilities/usecount.json +0 -92
  346. package/data/pages/Utilities/utilities/usedarkmode.json +0 -50
  347. package/data/pages/Utilities/utilities/usedebuginfo.json +0 -63
  348. package/data/pages/Utilities/utilities/useeffectonce.json +0 -57
  349. package/data/pages/Utilities/utilities/useelapsedtime.json +0 -57
  350. package/data/pages/Utilities/utilities/useelementsize.json +0 -63
  351. package/data/pages/Utilities/utilities/useesc.json +0 -57
  352. package/data/pages/Utilities/utilities/useevent.json +0 -75
  353. package/data/pages/Utilities/utilities/usefocustrap.json +0 -57
  354. package/data/pages/Utilities/utilities/usefullscreen.json +0 -197
  355. package/data/pages/Utilities/utilities/usehover.json +0 -57
  356. package/data/pages/Utilities/utilities/useinterval.json +0 -63
  357. package/data/pages/Utilities/utilities/useisfocuswithin.json +0 -75
  358. package/data/pages/Utilities/utilities/usekey.json +0 -75
  359. package/data/pages/Utilities/utilities/uselocalstorage.json +0 -69
  360. package/data/pages/Utilities/utilities/uselocationsuggestions.json +0 -110
  361. package/data/pages/Utilities/utilities/usemax.json +0 -86
  362. package/data/pages/Utilities/utilities/usemin.json +0 -86
  363. package/data/pages/Utilities/utilities/usemutationobserver.json +0 -69
  364. package/data/pages/Utilities/utilities/useonlinestatus.json +0 -39
  365. package/data/pages/Utilities/utilities/useonscreen.json +0 -63
  366. package/data/pages/Utilities/utilities/usepostmessage.json +0 -80
  367. package/data/pages/Utilities/utilities/useprevious.json +0 -63
  368. package/data/pages/Utilities/utilities/useresizeobserver.json +0 -65
  369. package/data/pages/Utilities/utilities/usescrollposition.json +0 -103
  370. package/data/pages/Utilities/utilities/usesearch.json +0 -197
  371. package/data/pages/Utilities/utilities/usesorting.json +0 -139
  372. package/data/pages/Utilities/utilities/usestatewithvalidation.json +0 -69
  373. package/data/pages/Utilities/utilities/usesum.json +0 -86
  374. package/data/pages/Utilities/utilities/usetableexport.json +0 -87
  375. package/data/pages/Utilities/utilities/usetableselection.json +0 -311
  376. package/data/pages/Utilities/utilities/usetimeout.json +0 -63
  377. package/data/pages/Utilities/utilities/usetoggle.json +0 -75
  378. package/data/pages/Utilities/utilities/usewindowresize.json +0 -63
  379. package/data/version.json +0 -4
  380. package/docs/content-schema.md +0 -147
  381. package/docs/navigation-inventory.json +0 -1310
  382. package/docs/search-synonyms.json +0 -43
  383. package/server/index.mjs +0 -268
  384. package/server/lib/load-docs.mjs +0 -48
  385. package/server/lib/normalise-doc.mjs +0 -220
  386. package/server/lib/render-markdown.mjs +0 -82
  387. package/server/lib/search-index.mjs +0 -49
  388. package/server/lib/types.js +0 -99
@@ -0,0 +1,1814 @@
1
+ # Marker
2
+
3
+ *Category:* Components
4
+ *Section:* Map
5
+ *Source:* https://uikit.developers.rio.cloud/#components/mapMarker
6
+ *Captured:* 2025-12-12T12:39:12.134Z
7
+
8
+ Markers are used to render elements at specific locations on the map. They adapt their position as the user interacts with the map.
9
+
10
+ ## Marker
11
+
12
+ > Note: The map zoom level does not affect the size of Markers.
13
+
14
+ **Sharing icon between Markers**
15
+
16
+ It's possible to share icon instances between different markers. This can be used to improve rendering performance of many markers on the map.
17
+
18
+ ### Example: Example 1
19
+
20
+ Terms of use© 1987–2025 HERE
21
+
22
+ 10 km
23
+
24
+ Choose view
25
+ Map view
26
+ Satellite
27
+
28
+ Traffic conditions
29
+ Show traffic incidents
30
+
31
+ #### Summary
32
+
33
+ Terms of use© 1987–2025 HERE
34
+
35
+ 10 km
36
+
37
+ Choose view
38
+ Map view
39
+ Satellite
40
+
41
+ Traffic conditions
42
+ Show traffic incidents
43
+
44
+ #### React (tsx)
45
+
46
+ ```tsx
47
+ import Map from '@rio-cloud/rio-uikit/Map';
48
+ import EventUtils from '@rio-cloud/rio-uikit/EventUtils';
49
+ import Marker from '@rio-cloud/rio-uikit/Marker';
50
+ import TextMarker from '@rio-cloud/rio-uikit/TextMarker';
51
+ import MapSettings from '@rio-cloud/rio-uikit/MapSettings';
52
+ import MapTypeSettings from '@rio-cloud/rio-uikit/MapTypeSettings';
53
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
54
+
55
+ import { UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT } from '../uikit_demo_credentials';
56
+ import type { MapEvent } from '@rio-cloud/rio-uikit/mapTypes';
57
+
58
+ const MarkerExample = () => {
59
+ const position = { lat: 47.96, lng: 11.7 };
60
+
61
+ const eventListenerMap = {
62
+ [EventUtils.TAP]: (event: MapEvent) => console.log(event),
63
+ };
64
+
65
+ return (
66
+ <Map
67
+ credentials={UIKIT_DEMO_CREDENTIALS_ARE_NOT_ALLOWED_IN_PROD_ENVIRONMENT}
68
+ center={position}
69
+ zoom={10}
70
+ height={620}
71
+ mapSettings={
72
+ <MapSettings
73
+ options={[
74
+ <MapTypeSettings
75
+ key='mapTypeSettings'
76
+ tooltip='Change map type'
77
+ dropdownHeaderText='Map views'
78
+ defaultTypeLabel='Default view'
79
+ truckTypeLabel='Truck view'
80
+ terrainTypeLabel='Terrain view'
81
+ satelliteTypeLabel='Satellite view'
82
+ nightTypeLabel='Night view'
83
+ />,
84
+ ]}
85
+ />
86
+ }
87
+ >
88
+ <>
89
+ {/* Default marker - active */}
90
+ <Marker
91
+ position={{ lat: 48.16, lng: 11.38 }}
92
+ icon={<SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' active />}
93
+ eventListenerMap={eventListenerMap}
94
+ />
95
+ <Marker
96
+ position={{ lat: 48.16, lng: 11.48 }}
97
+ icon={<SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-poi' active />}
98
+ eventListenerMap={eventListenerMap}
99
+ />
100
+ <Marker
101
+ position={{ lat: 48.16, lng: 11.58 }}
102
+ icon={<SingleMapMarker iconNames={['geofence']} markerColor='bg-map-marker-geofence' active />}
103
+ eventListenerMap={eventListenerMap}
104
+ />
105
+ <Marker
106
+ position={{ lat: 48.16, lng: 11.68 }}
107
+ icon={<SingleMapMarker iconNames={['route']} markerColor='bg-map-marker-route' active />}
108
+ eventListenerMap={eventListenerMap}
109
+ />
110
+ <Marker
111
+ position={{ lat: 48.16, lng: 11.78 }}
112
+ icon={
113
+ <SingleMapMarker
114
+ iconNames={['road-restrictions']}
115
+ markerColor='bg-map-marker-restrictions'
116
+ active
117
+ />
118
+ }
119
+ eventListenerMap={eventListenerMap}
120
+ />
121
+
122
+ {/* Default marker */}
123
+ <Marker
124
+ position={{ lat: 48.06, lng: 11.38 }}
125
+ icon={<SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' />}
126
+ eventListenerMap={eventListenerMap}
127
+ />
128
+ <Marker
129
+ position={{ lat: 48.06, lng: 11.48 }}
130
+ icon={<SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-poi' />}
131
+ eventListenerMap={eventListenerMap}
132
+ />
133
+ <Marker
134
+ position={{ lat: 48.06, lng: 11.58 }}
135
+ icon={<SingleMapMarker iconNames={['geofence']} markerColor='bg-map-marker-geofence' />}
136
+ eventListenerMap={eventListenerMap}
137
+ />
138
+ <Marker
139
+ position={{ lat: 48.06, lng: 11.68 }}
140
+ icon={<SingleMapMarker iconNames={['route']} markerColor='bg-map-marker-route' />}
141
+ eventListenerMap={eventListenerMap}
142
+ />
143
+ <Marker
144
+ position={{ lat: 48.06, lng: 11.78 }}
145
+ icon={
146
+ <SingleMapMarker iconNames={['road-restrictions']} markerColor='bg-map-marker-restrictions' />
147
+ }
148
+ eventListenerMap={eventListenerMap}
149
+ />
150
+
151
+ {/* anchorOnly marker */}
152
+ <Marker
153
+ position={{ lat: 48.0, lng: 11.38 }}
154
+ icon={
155
+ <SingleMapMarker
156
+ iconNames={['truck']}
157
+ markerColor='bg-map-marker-asset'
158
+ anchorSize='lg'
159
+ markerOnHover
160
+ />
161
+ }
162
+ eventListenerMap={eventListenerMap}
163
+ />
164
+ <Marker
165
+ position={{ lat: 48.0, lng: 11.48 }}
166
+ icon={
167
+ <SingleMapMarker
168
+ iconNames={['factory']}
169
+ markerColor='bg-map-marker-poi'
170
+ anchorSize='lg'
171
+ markerOnHover
172
+ />
173
+ }
174
+ eventListenerMap={eventListenerMap}
175
+ />
176
+ <Marker
177
+ position={{ lat: 48.0, lng: 11.58 }}
178
+ icon={
179
+ <SingleMapMarker
180
+ iconNames={['geofence']}
181
+ markerColor='bg-map-marker-geofence'
182
+ anchorSize='lg'
183
+ markerOnHover
184
+ />
185
+ }
186
+ eventListenerMap={eventListenerMap}
187
+ />
188
+ <Marker
189
+ position={{ lat: 48.0, lng: 11.68 }}
190
+ icon={
191
+ <SingleMapMarker
192
+ iconNames={['route']}
193
+ markerColor='bg-map-marker-route'
194
+ anchorSize='lg'
195
+ markerOnHover
196
+ />
197
+ }
198
+ eventListenerMap={eventListenerMap}
199
+ />
200
+
201
+ <Marker
202
+ position={{ lat: 48.0, lng: 11.745 }}
203
+ icon={
204
+ <SingleMapMarker
205
+ markerColor='bg-map-marker-route'
206
+ anchorSize='lg'
207
+ anchorOnly
208
+ name='Hidden marker text'
209
+ cursor='cursor-grab'
210
+ />
211
+ }
212
+ eventListenerMap={eventListenerMap}
213
+ />
214
+
215
+ <Marker
216
+ position={{ lat: 48.0, lng: 11.81 }}
217
+ icon={
218
+ <SingleMapMarker
219
+ name={
220
+ <div className='display-flex align-items-center gap-10 padding-x-15 padding-y-5'>
221
+ <span className='text-size-20 rioglyph rioglyph-drivercard-in' />
222
+ <div className='line-height-16'>
223
+ <div className='text-medium'>Fahrerkarte gesteckt</div>
224
+ <div className='text-anchorSize-12'>14.07.2023, 08:26</div>
225
+ </div>
226
+ </div>
227
+ }
228
+ markerColor='bg-map-marker-route'
229
+ markerOnHover
230
+ anchorSize='lg'
231
+ />
232
+ }
233
+ eventListenerMap={eventListenerMap}
234
+ />
235
+
236
+ <Marker
237
+ position={{ lat: 48, lng: 11.88 }}
238
+ eventListenerMap={eventListenerMap}
239
+ icon={<SingleMapMarker markerColor='bg-map-marker-poi' anchorIconName='heart' anchorSize='lg' />}
240
+ />
241
+ <Marker
242
+ position={{ lat: 48, lng: 11.92 }}
243
+ icon={
244
+ <SingleMapMarker
245
+ markerColor='bg-map-marker-success'
246
+ anchorIconName='flag'
247
+ clickable={false}
248
+ anchorSize='lg'
249
+ />
250
+ }
251
+ />
252
+
253
+ <Marker
254
+ position={{ lat: 48, lng: 11.98 }}
255
+ icon={<SingleMapMarker markerColor='bg-map-marker-poi' anchorSize='lg' clickable={false} />}
256
+ />
257
+
258
+ <Marker
259
+ position={{ lat: 48, lng: 12.08 }}
260
+ icon={
261
+ <SingleMapMarker
262
+ markerColor='bg-map-marker-poi'
263
+ name={<div className='padding-x-15'>Lorem ipsum dolor sit amet</div>}
264
+ markerOnHover
265
+ />
266
+ }
267
+ />
268
+
269
+ {/* Status colored markers */}
270
+ <Marker
271
+ position={{ lat: 47.92, lng: 11.38 }}
272
+ icon={<SingleMapMarker iconNames={['heart']} markerColor='bg-map-marker-success' />}
273
+ eventListenerMap={eventListenerMap}
274
+ />
275
+ <Marker
276
+ position={{ lat: 47.92, lng: 11.48 }}
277
+ icon={<SingleMapMarker iconNames={['exclamation-sign']} markerColor='bg-map-marker-warning' />}
278
+ eventListenerMap={eventListenerMap}
279
+ />
280
+ <Marker
281
+ position={{ lat: 47.92, lng: 11.58 }}
282
+ icon={<SingleMapMarker iconNames={['error-sign']} markerColor='bg-map-marker-danger' />}
283
+ eventListenerMap={eventListenerMap}
284
+ />
285
+ <Marker
286
+ position={{ lat: 47.92, lng: 11.68 }}
287
+ icon={<SingleMapMarker iconNames={['info-sign']} markerColor='bg-map-marker-info' />}
288
+ eventListenerMap={eventListenerMap}
289
+ />
290
+
291
+ {/* Status colored markers - active */}
292
+ <Marker
293
+ position={{ lat: 47.85, lng: 11.38 }}
294
+ icon={<SingleMapMarker iconNames={['heart']} markerColor='bg-map-marker-success' active />}
295
+ eventListenerMap={eventListenerMap}
296
+ />
297
+ <Marker
298
+ position={{ lat: 47.85, lng: 11.48 }}
299
+ icon={
300
+ <SingleMapMarker iconNames={['exclamation-sign']} markerColor='bg-map-marker-warning' active />
301
+ }
302
+ eventListenerMap={eventListenerMap}
303
+ />
304
+ <Marker
305
+ position={{ lat: 47.85, lng: 11.58 }}
306
+ icon={<SingleMapMarker iconNames={['error-sign']} markerColor='bg-map-marker-danger' active />}
307
+ eventListenerMap={eventListenerMap}
308
+ />
309
+ <Marker
310
+ position={{ lat: 47.85, lng: 11.68 }}
311
+ icon={<SingleMapMarker iconNames={['info-sign']} markerColor='bg-map-marker-info' active />}
312
+ eventListenerMap={eventListenerMap}
313
+ />
314
+
315
+ {/* One number only marker */}
316
+ <Marker
317
+ position={{ lat: 47.92, lng: 11.78 }}
318
+ icon={<SingleMapMarker markerColor='bg-map-marker-asset' name='1' />}
319
+ eventListenerMap={eventListenerMap}
320
+ />
321
+
322
+ <Marker
323
+ position={{ lat: 47.85, lng: 11.78 }}
324
+ icon={<SingleMapMarker markerColor='bg-map-marker-asset' active name='1' />}
325
+ eventListenerMap={eventListenerMap}
326
+ />
327
+
328
+ {/* Custom text marker */}
329
+ <TextMarker
330
+ position={{ lat: 48.205, lng: 11.88 }}
331
+ text='This is a TextMarker'
332
+ eventListenerMap={eventListenerMap}
333
+ />
334
+ <Marker
335
+ position={{ lat: 48.14, lng: 11.88 }}
336
+ icon={
337
+ <span className='bg-white rounded border max-width-200 shadow-default user-select-none cursor-default'>
338
+ <div className='border border-bottom-only padding-10 text-color-info'>
339
+ <span className='rioglyph rioglyph-info-sign margin-right-3' />
340
+ <span className='text-medium'>This is a custom Marker</span>
341
+ </div>
342
+ <div className='padding-10'>
343
+ This kind of marker is useful when displaying additional information on the map
344
+ </div>
345
+ </span>
346
+ }
347
+ eventListenerMap={eventListenerMap}
348
+ />
349
+
350
+ {/* Status color marker with text */}
351
+ <Marker
352
+ position={{ lat: 47.77, lng: 11.38 }}
353
+ icon={
354
+ <SingleMapMarker
355
+ bearing={60}
356
+ name='Vehicle'
357
+ iconNames={['truck-breakdown']}
358
+ markerColor='bg-map-marker-warning'
359
+ moving
360
+ />
361
+ }
362
+ eventListenerMap={eventListenerMap}
363
+ />
364
+ <Marker
365
+ position={{ lat: 47.77, lng: 11.58 }}
366
+ icon={
367
+ <SingleMapMarker
368
+ bearing={60}
369
+ name='Vehicle'
370
+ iconNames={['truck-breakdown']}
371
+ markerColor='bg-map-marker-danger'
372
+ moving
373
+ pinging
374
+ />
375
+ }
376
+ eventListenerMap={eventListenerMap}
377
+ />
378
+ <Marker
379
+ position={{ lat: 47.71, lng: 11.38 }}
380
+ icon={
381
+ <SingleMapMarker
382
+ bearing={60}
383
+ name='Vehicle'
384
+ iconNames={['truck-breakdown']}
385
+ markerColor='bg-map-marker-warning'
386
+ moving
387
+ active
388
+ />
389
+ }
390
+ eventListenerMap={eventListenerMap}
391
+ />
392
+ <Marker
393
+ position={{ lat: 47.71, lng: 11.58 }}
394
+ icon={
395
+ <SingleMapMarker
396
+ bearing={60}
397
+ name='Vehicle'
398
+ iconNames={['truck-breakdown']}
399
+ markerColor='bg-map-marker-danger'
400
+ moving
401
+ active
402
+ />
403
+ }
404
+ eventListenerMap={eventListenerMap}
405
+ />
406
+
407
+ {/* Asset marker with text */}
408
+ <Marker
409
+ position={{ lat: 47.77, lng: 11.8 }}
410
+ icon={
411
+ <SingleMapMarker
412
+ bearing={60}
413
+ name='Vehicle'
414
+ warningCount={1}
415
+ exceptionCount={2}
416
+ iconNames={['truck']}
417
+ moving
418
+ />
419
+ }
420
+ eventListenerMap={eventListenerMap}
421
+ />
422
+ <Marker
423
+ position={{ lat: 47.71, lng: 11.8 }}
424
+ icon={
425
+ <SingleMapMarker
426
+ bearing={60}
427
+ name='Vehicle'
428
+ warningCount={1}
429
+ exceptionCount={2}
430
+ iconNames={['truck']}
431
+ moving
432
+ active
433
+ />
434
+ }
435
+ eventListenerMap={eventListenerMap}
436
+ />
437
+ </>
438
+ </Map>
439
+ );
440
+ };
441
+
442
+ export default MarkerExample;
443
+ ```
444
+
445
+ ## SingleMapMarker
446
+
447
+ ### Example: Example 2
448
+
449
+ Vehicle
450
+
451
+ Vehicle
452
+ 2
453
+ 1
454
+
455
+ Vehicle
456
+ 2
457
+ 1
458
+
459
+ The hover state is triggered on mouse hover or by adding the class hover
460
+
461
+ #### Summary
462
+
463
+ Vehicle
464
+
465
+ Vehicle
466
+ 2
467
+ 1
468
+
469
+ Vehicle
470
+ 2
471
+ 1
472
+
473
+ The hover state is triggered on mouse hover or by adding the class hover
474
+
475
+ #### React (tsx)
476
+
477
+ ```tsx
478
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
479
+
480
+ export default () => (
481
+ <div>
482
+ <div className='bg-light padding-top-25'>
483
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
484
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
485
+ <SingleMapMarker name='Vehicle' iconNames={['truck']} />
486
+ </div>
487
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
488
+ <SingleMapMarker
489
+ bearing={60}
490
+ name='Vehicle'
491
+ warningCount={1}
492
+ exceptionCount={2}
493
+ iconNames={['truck']}
494
+ />
495
+ </div>
496
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
497
+ <SingleMapMarker
498
+ bearing={60}
499
+ name='Vehicle'
500
+ warningCount={1}
501
+ exceptionCount={2}
502
+ moving
503
+ iconNames={['truck']}
504
+ />
505
+ </div>
506
+ </div>
507
+ </div>
508
+ <p className='margin-bottom-0'>
509
+ The hover state is triggered on mouse hover or by adding the class <code className='code'>hover</code>
510
+ </p>
511
+ </div>
512
+ );
513
+ ```
514
+
515
+ #### HTML (html)
516
+
517
+ ```html
518
+ <div>
519
+ <div class="bg-light padding-top-25">
520
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
521
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
522
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
523
+ <div class="rio-map-marker-translate">
524
+ <div class="rio-map-single cursor-pointer">
525
+ <div class="rio-map-icon">
526
+ <span class="rioglyph rioglyph-truck">
527
+ </span>
528
+ </div>
529
+ <div class="rio-map-name">Vehicle</div>
530
+ </div>
531
+ <div class="rio-map-anchor-arrow">
532
+ </div>
533
+ <div class="rio-map-anchor cursor-pointer">
534
+ </div>
535
+ </div>
536
+ </div>
537
+ </div>
538
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
539
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
540
+ <div class="rio-map-marker-translate">
541
+ <div class="rio-map-single cursor-pointer">
542
+ <div class="rio-map-icon">
543
+ <span class="rioglyph rioglyph-truck">
544
+ </span>
545
+ </div>
546
+ <div class="rio-map-name">Vehicle</div>
547
+ <div class="rio-map-bubble exception">2</div>
548
+ <div class="rio-map-bubble warning">1</div>
549
+ </div>
550
+ <div class="rio-map-anchor-arrow">
551
+ </div>
552
+ <div class="rio-map-anchor cursor-pointer">
553
+ </div>
554
+ </div>
555
+ </div>
556
+ </div>
557
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
558
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
559
+ <div class="rio-map-marker-translate">
560
+ <div class="rio-map-single moving cursor-pointer">
561
+ <div class="rio-map-icon rio-map-marker-state rio-map-direction">
562
+ <span class="rioglyph rioglyph-direction" style="transform: rotate(60deg);">
563
+ </span>
564
+ </div>
565
+ <div class="rio-map-icon">
566
+ <span class="rioglyph rioglyph-truck">
567
+ </span>
568
+ </div>
569
+ <div class="rio-map-name">Vehicle</div>
570
+ <div class="rio-map-bubble exception">2</div>
571
+ <div class="rio-map-bubble warning">1</div>
572
+ </div>
573
+ <div class="rio-map-anchor-arrow">
574
+ </div>
575
+ <div class="rio-map-anchor cursor-pointer">
576
+ </div>
577
+ </div>
578
+ </div>
579
+ </div>
580
+ </div>
581
+ </div>
582
+ <p class="margin-bottom-0">The hover state is triggered on mouse hover or by adding the class <code class="code">hover</code>
583
+ </p>
584
+ </div>
585
+ ```
586
+
587
+ #### Props
588
+
589
+ | Name | Type | Default | Description |
590
+ | --- | --- | --- | --- |
591
+ | bearing | Number | 0 | Defines the rotation of the arrow in deg. |
592
+ | name | String / Node | — | Text for the Marker. |
593
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
594
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
595
+ | active | Boolean | false | Defines if marker is selected or not. |
596
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
597
+ | fixed | Boolean | false | Defines if marker is fixed and has no centering point. |
598
+ | moving | Boolean | false | Defines whether the direction icon is displayed or not |
599
+ | pinging | Boolean | false | Defines if marker is rendered with a pinging animation. |
600
+ | positionIconName | String | — | Optional icon name that is shown on the position circle of the DOM marker. Use this when no marker content is shown |
601
+ | iconNames | Array of Strings | — | List of rioglyph icon names |
602
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence', 'bg-map-marker-route', 'bg-map-marker-info', 'bg-map-marker-succcess', 'bg-map-marker-warning' or 'bg-map-marker-danger'. |
603
+ | anchorSize | String | 'md' | Used to control the marker's size. Possible values are: md and lg. |
604
+ | cursor | String | 'cursor-pointer' | Possible values are: cursor-pointer, cursor-grab and cursor-not-allowed. |
605
+ | markerOnHover | Boolean | false | Whether the marker is only visible on hover. |
606
+
607
+ ### Example: Example 3
608
+
609
+ Vehicle
610
+ 2
611
+ 1
612
+
613
+ Vehicle
614
+
615
+ Vehicle
616
+
617
+ Vehicle
618
+ 2
619
+ 1
620
+
621
+ To activate the active state of any marker you have to add the class active
622
+
623
+ #### Summary
624
+
625
+ Vehicle
626
+ 2
627
+ 1
628
+
629
+ Vehicle
630
+
631
+ Vehicle
632
+
633
+ Vehicle
634
+ 2
635
+ 1
636
+
637
+ To activate the active state of any marker you have to add the class active
638
+
639
+ #### React (tsx)
640
+
641
+ ```tsx
642
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
643
+
644
+ export default () => (
645
+ <div>
646
+ <div className='bg-light padding-top-25'>
647
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
648
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
649
+ <SingleMapMarker
650
+ bearing={135}
651
+ name='Vehicle'
652
+ warningCount={1}
653
+ exceptionCount={2}
654
+ active
655
+ moving
656
+ iconNames={['truck', 'heart']}
657
+ />
658
+ </div>
659
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
660
+ <SingleMapMarker name='Vehicle' iconNames={['truck']} stateIconName='parking' />
661
+ </div>
662
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
663
+ <SingleMapMarker name='Vehicle' iconNames={['truck']} active />
664
+ </div>
665
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
666
+ <SingleMapMarker
667
+ name='Vehicle'
668
+ warningCount={1}
669
+ exceptionCount={2}
670
+ iconNames={['truck']}
671
+ stateIconName='plugged-on'
672
+ />
673
+ </div>
674
+ </div>
675
+ </div>
676
+ <p className='margin-bottom-0'>
677
+ To activate the active state of any marker you have to add the class <code className='code'>active</code>
678
+ </p>
679
+ </div>
680
+ );
681
+ ```
682
+
683
+ #### HTML (html)
684
+
685
+ ```html
686
+ <div>
687
+ <div class="bg-light padding-top-25">
688
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
689
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
690
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
691
+ <div class="rio-map-marker-translate">
692
+ <div class="rio-map-single moving active cursor-pointer">
693
+ <div class="rio-map-icon rio-map-marker-state rio-map-direction">
694
+ <span class="rioglyph rioglyph-direction" style="transform: rotate(135deg);">
695
+ </span>
696
+ </div>
697
+ <div class="rio-map-icon">
698
+ <span class="rioglyph rioglyph-truck">
699
+ </span>
700
+ </div>
701
+ <div class="rio-map-icon">
702
+ <span class="rioglyph rioglyph-heart">
703
+ </span>
704
+ </div>
705
+ <div class="rio-map-name">Vehicle</div>
706
+ <div class="rio-map-bubble exception">2</div>
707
+ <div class="rio-map-bubble warning">1</div>
708
+ </div>
709
+ <div class="rio-map-anchor-arrow">
710
+ </div>
711
+ <div class="rio-map-anchor cursor-pointer">
712
+ </div>
713
+ </div>
714
+ </div>
715
+ </div>
716
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
717
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
718
+ <div class="rio-map-marker-translate">
719
+ <div class="rio-map-single cursor-pointer">
720
+ <div class="rio-map-icon rio-map-marker-state ">
721
+ <span class="rioglyph rioglyph-parking">
722
+ </span>
723
+ </div>
724
+ <div class="rio-map-icon">
725
+ <span class="rioglyph rioglyph-truck">
726
+ </span>
727
+ </div>
728
+ <div class="rio-map-name">Vehicle</div>
729
+ </div>
730
+ <div class="rio-map-anchor-arrow">
731
+ </div>
732
+ <div class="rio-map-anchor cursor-pointer">
733
+ </div>
734
+ </div>
735
+ </div>
736
+ </div>
737
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
738
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
739
+ <div class="rio-map-marker-translate">
740
+ <div class="rio-map-single active cursor-pointer">
741
+ <div class="rio-map-icon">
742
+ <span class="rioglyph rioglyph-truck">
743
+ </span>
744
+ </div>
745
+ <div class="rio-map-name">Vehicle</div>
746
+ </div>
747
+ <div class="rio-map-anchor-arrow">
748
+ </div>
749
+ <div class="rio-map-anchor cursor-pointer">
750
+ </div>
751
+ </div>
752
+ </div>
753
+ </div>
754
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
755
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
756
+ <div class="rio-map-marker-translate">
757
+ <div class="rio-map-single cursor-pointer">
758
+ <div class="rio-map-icon rio-map-marker-state ">
759
+ <span class="rioglyph rioglyph-plugged-on">
760
+ </span>
761
+ </div>
762
+ <div class="rio-map-icon">
763
+ <span class="rioglyph rioglyph-truck">
764
+ </span>
765
+ </div>
766
+ <div class="rio-map-name">Vehicle</div>
767
+ <div class="rio-map-bubble exception">2</div>
768
+ <div class="rio-map-bubble warning">1</div>
769
+ </div>
770
+ <div class="rio-map-anchor-arrow">
771
+ </div>
772
+ <div class="rio-map-anchor cursor-pointer">
773
+ </div>
774
+ </div>
775
+ </div>
776
+ </div>
777
+ </div>
778
+ </div>
779
+ <p class="margin-bottom-0">To activate the active state of any marker you have to add the class <code class="code">active</code>
780
+ </p>
781
+ </div>
782
+ ```
783
+
784
+ #### Props
785
+
786
+ | Name | Type | Default | Description |
787
+ | --- | --- | --- | --- |
788
+ | bearing | Number | 0 | Defines the rotation of the arrow in deg. |
789
+ | name | String / Node | — | Text for the Marker. |
790
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
791
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
792
+ | active | Boolean | false | Defines if marker is selected or not. |
793
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
794
+ | fixed | Boolean | false | Defines if marker is fixed and has no centering point. |
795
+ | moving | Boolean | false | Defines whether the direction icon is displayed or not |
796
+ | pinging | Boolean | false | Defines if marker is rendered with a pinging animation. |
797
+ | positionIconName | String | — | Optional icon name that is shown on the position circle of the DOM marker. Use this when no marker content is shown |
798
+ | iconNames | Array of Strings | — | List of rioglyph icon names |
799
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence', 'bg-map-marker-route', 'bg-map-marker-info', 'bg-map-marker-succcess', 'bg-map-marker-warning' or 'bg-map-marker-danger'. |
800
+ | anchorSize | String | 'md' | Used to control the marker's size. Possible values are: md and lg. |
801
+ | cursor | String | 'cursor-pointer' | Possible values are: cursor-pointer, cursor-grab and cursor-not-allowed. |
802
+ | markerOnHover | Boolean | false | Whether the marker is only visible on hover. |
803
+
804
+ ### Example: Example 4
805
+
806
+ 236km
807
+
808
+ Vehicle
809
+
810
+ POI
811
+
812
+ Geofence
813
+
814
+ Max height 2.5m
815
+
816
+ 236km
817
+
818
+ #### Summary
819
+
820
+ 236km
821
+
822
+ Vehicle
823
+
824
+ POI
825
+
826
+ Geofence
827
+
828
+ Max height 2.5m
829
+
830
+ 236km
831
+
832
+ #### React (tsx)
833
+
834
+ ```tsx
835
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
836
+
837
+ export default () => (
838
+ <div>
839
+ <div className='bg-light padding-top-25 map-details-view padding-bottom-25'>
840
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
841
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
842
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' />
843
+ </div>
844
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
845
+ <SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-poi' />
846
+ </div>
847
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
848
+ <SingleMapMarker iconNames={['geofence']} markerColor='bg-map-marker-geofence' />
849
+ </div>
850
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
851
+ <SingleMapMarker iconNames={['road-restrictions']} markerColor='bg-map-marker-restrictions' />
852
+ </div>
853
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
854
+ <SingleMapMarker iconNames={['route']} name='236km' markerColor='bg-map-marker-route' />
855
+ </div>
856
+ </div>
857
+ </div>
858
+ <div className='bg-light map-details-view'>
859
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
860
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
861
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' fixed />
862
+ </div>
863
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
864
+ <SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-poi' fixed />
865
+ </div>
866
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
867
+ <SingleMapMarker iconNames={['geofence']} markerColor='bg-map-marker-geofence' fixed />
868
+ </div>
869
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
870
+ <SingleMapMarker iconNames={['road-restrictions']} markerColor='bg-map-marker-restrictions' fixed />
871
+ </div>
872
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
873
+ <SingleMapMarker iconNames={['route']} markerColor='bg-map-marker-route' fixed />
874
+ </div>
875
+ </div>
876
+ </div>
877
+
878
+ <div className='bg-light padding-top-25 map-details-view padding-bottom-25'>
879
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
880
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
881
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-asset' name='Vehicle' />
882
+ </div>
883
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
884
+ <SingleMapMarker iconNames={['factory']} markerColor='bg-map-marker-poi' name='POI' />
885
+ </div>
886
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
887
+ <SingleMapMarker iconNames={['geofence']} markerColor='bg-map-marker-geofence' name='Geofence' />
888
+ </div>
889
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
890
+ <SingleMapMarker
891
+ iconNames={['road-restrictions']}
892
+ markerColor='bg-map-marker-restrictions'
893
+ name='Max height 2.5m'
894
+ />
895
+ </div>
896
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
897
+ <SingleMapMarker iconNames={['route']} name='236km' markerColor='bg-map-marker-route' />
898
+ </div>
899
+ </div>
900
+ </div>
901
+ </div>
902
+ );
903
+ ```
904
+
905
+ #### HTML (html)
906
+
907
+ ```html
908
+ <div>
909
+ <div class="bg-light padding-top-25 map-details-view padding-bottom-25">
910
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
911
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
912
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
913
+ <div class="rio-map-marker-translate">
914
+ <div class="rio-map-single cursor-pointer">
915
+ <div class="rio-map-icon">
916
+ <span class="rioglyph rioglyph-truck">
917
+ </span>
918
+ </div>
919
+ </div>
920
+ <div class="rio-map-anchor-arrow">
921
+ </div>
922
+ <div class="rio-map-anchor cursor-pointer">
923
+ </div>
924
+ </div>
925
+ </div>
926
+ </div>
927
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
928
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-poi" style="color: var(--color-map-marker-poi);">
929
+ <div class="rio-map-marker-translate">
930
+ <div class="rio-map-single cursor-pointer">
931
+ <div class="rio-map-icon">
932
+ <span class="rioglyph rioglyph-factory">
933
+ </span>
934
+ </div>
935
+ </div>
936
+ <div class="rio-map-anchor-arrow">
937
+ </div>
938
+ <div class="rio-map-anchor cursor-pointer">
939
+ </div>
940
+ </div>
941
+ </div>
942
+ </div>
943
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
944
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-geofence" style="color: var(--color-map-marker-geofence);">
945
+ <div class="rio-map-marker-translate">
946
+ <div class="rio-map-single cursor-pointer">
947
+ <div class="rio-map-icon">
948
+ <span class="rioglyph rioglyph-geofence">
949
+ </span>
950
+ </div>
951
+ </div>
952
+ <div class="rio-map-anchor-arrow">
953
+ </div>
954
+ <div class="rio-map-anchor cursor-pointer">
955
+ </div>
956
+ </div>
957
+ </div>
958
+ </div>
959
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
960
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-restrictions" style="color: var(--color-map-marker-restrictions);">
961
+ <div class="rio-map-marker-translate">
962
+ <div class="rio-map-single cursor-pointer">
963
+ <div class="rio-map-icon">
964
+ <span class="rioglyph rioglyph-road-restrictions">
965
+ </span>
966
+ </div>
967
+ </div>
968
+ <div class="rio-map-anchor-arrow">
969
+ </div>
970
+ <div class="rio-map-anchor cursor-pointer">
971
+ </div>
972
+ </div>
973
+ </div>
974
+ </div>
975
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
976
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-route" style="color: var(--color-map-marker-route);">
977
+ <div class="rio-map-marker-translate">
978
+ <div class="rio-map-single cursor-pointer">
979
+ <div class="rio-map-icon">
980
+ <span class="rioglyph rioglyph-route">
981
+ </span>
982
+ </div>
983
+ <div class="rio-map-name">236km</div>
984
+ </div>
985
+ <div class="rio-map-anchor-arrow">
986
+ </div>
987
+ <div class="rio-map-anchor cursor-pointer">
988
+ </div>
989
+ </div>
990
+ </div>
991
+ </div>
992
+ </div>
993
+ </div>
994
+ <div class="bg-light map-details-view">
995
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
996
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
997
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
998
+ <div class="rio-map-marker-translate">
999
+ <div class="rio-map-single fixed cursor-pointer">
1000
+ <div class="rio-map-icon">
1001
+ <span class="rioglyph rioglyph-truck">
1002
+ </span>
1003
+ </div>
1004
+ </div>
1005
+ <div class="rio-map-anchor-arrow">
1006
+ </div>
1007
+ <div class="rio-map-anchor cursor-pointer">
1008
+ </div>
1009
+ </div>
1010
+ </div>
1011
+ </div>
1012
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1013
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-poi" style="color: var(--color-map-marker-poi);">
1014
+ <div class="rio-map-marker-translate">
1015
+ <div class="rio-map-single fixed cursor-pointer">
1016
+ <div class="rio-map-icon">
1017
+ <span class="rioglyph rioglyph-factory">
1018
+ </span>
1019
+ </div>
1020
+ </div>
1021
+ <div class="rio-map-anchor-arrow">
1022
+ </div>
1023
+ <div class="rio-map-anchor cursor-pointer">
1024
+ </div>
1025
+ </div>
1026
+ </div>
1027
+ </div>
1028
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1029
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-geofence" style="color: var(--color-map-marker-geofence);">
1030
+ <div class="rio-map-marker-translate">
1031
+ <div class="rio-map-single fixed cursor-pointer">
1032
+ <div class="rio-map-icon">
1033
+ <span class="rioglyph rioglyph-geofence">
1034
+ </span>
1035
+ </div>
1036
+ </div>
1037
+ <div class="rio-map-anchor-arrow">
1038
+ </div>
1039
+ <div class="rio-map-anchor cursor-pointer">
1040
+ </div>
1041
+ </div>
1042
+ </div>
1043
+ </div>
1044
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1045
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-restrictions" style="color: var(--color-map-marker-restrictions);">
1046
+ <div class="rio-map-marker-translate">
1047
+ <div class="rio-map-single fixed cursor-pointer">
1048
+ <div class="rio-map-icon">
1049
+ <span class="rioglyph rioglyph-road-restrictions">
1050
+ </span>
1051
+ </div>
1052
+ </div>
1053
+ <div class="rio-map-anchor-arrow">
1054
+ </div>
1055
+ <div class="rio-map-anchor cursor-pointer">
1056
+ </div>
1057
+ </div>
1058
+ </div>
1059
+ </div>
1060
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1061
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-route" style="color: var(--color-map-marker-route);">
1062
+ <div class="rio-map-marker-translate">
1063
+ <div class="rio-map-single fixed cursor-pointer">
1064
+ <div class="rio-map-icon">
1065
+ <span class="rioglyph rioglyph-route">
1066
+ </span>
1067
+ </div>
1068
+ </div>
1069
+ <div class="rio-map-anchor-arrow">
1070
+ </div>
1071
+ <div class="rio-map-anchor cursor-pointer">
1072
+ </div>
1073
+ </div>
1074
+ </div>
1075
+ </div>
1076
+ </div>
1077
+ </div>
1078
+ <div class="bg-light padding-top-25 map-details-view padding-bottom-25">
1079
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
1080
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1081
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-asset" style="color: var(--color-map-marker-asset);">
1082
+ <div class="rio-map-marker-translate">
1083
+ <div class="rio-map-single cursor-pointer">
1084
+ <div class="rio-map-icon">
1085
+ <span class="rioglyph rioglyph-truck">
1086
+ </span>
1087
+ </div>
1088
+ <div class="rio-map-name">Vehicle</div>
1089
+ </div>
1090
+ <div class="rio-map-anchor-arrow">
1091
+ </div>
1092
+ <div class="rio-map-anchor cursor-pointer">
1093
+ </div>
1094
+ </div>
1095
+ </div>
1096
+ </div>
1097
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1098
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-poi" style="color: var(--color-map-marker-poi);">
1099
+ <div class="rio-map-marker-translate">
1100
+ <div class="rio-map-single cursor-pointer">
1101
+ <div class="rio-map-icon">
1102
+ <span class="rioglyph rioglyph-factory">
1103
+ </span>
1104
+ </div>
1105
+ <div class="rio-map-name">POI</div>
1106
+ </div>
1107
+ <div class="rio-map-anchor-arrow">
1108
+ </div>
1109
+ <div class="rio-map-anchor cursor-pointer">
1110
+ </div>
1111
+ </div>
1112
+ </div>
1113
+ </div>
1114
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1115
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-geofence" style="color: var(--color-map-marker-geofence);">
1116
+ <div class="rio-map-marker-translate">
1117
+ <div class="rio-map-single cursor-pointer">
1118
+ <div class="rio-map-icon">
1119
+ <span class="rioglyph rioglyph-geofence">
1120
+ </span>
1121
+ </div>
1122
+ <div class="rio-map-name">Geofence</div>
1123
+ </div>
1124
+ <div class="rio-map-anchor-arrow">
1125
+ </div>
1126
+ <div class="rio-map-anchor cursor-pointer">
1127
+ </div>
1128
+ </div>
1129
+ </div>
1130
+ </div>
1131
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1132
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-restrictions" style="color: var(--color-map-marker-restrictions);">
1133
+ <div class="rio-map-marker-translate">
1134
+ <div class="rio-map-single cursor-pointer">
1135
+ <div class="rio-map-icon">
1136
+ <span class="rioglyph rioglyph-road-restrictions">
1137
+ </span>
1138
+ </div>
1139
+ <div class="rio-map-name">Max height 2.5m</div>
1140
+ </div>
1141
+ <div class="rio-map-anchor-arrow">
1142
+ </div>
1143
+ <div class="rio-map-anchor cursor-pointer">
1144
+ </div>
1145
+ </div>
1146
+ </div>
1147
+ </div>
1148
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1149
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-route" style="color: var(--color-map-marker-route);">
1150
+ <div class="rio-map-marker-translate">
1151
+ <div class="rio-map-single cursor-pointer">
1152
+ <div class="rio-map-icon">
1153
+ <span class="rioglyph rioglyph-route">
1154
+ </span>
1155
+ </div>
1156
+ <div class="rio-map-name">236km</div>
1157
+ </div>
1158
+ <div class="rio-map-anchor-arrow">
1159
+ </div>
1160
+ <div class="rio-map-anchor cursor-pointer">
1161
+ </div>
1162
+ </div>
1163
+ </div>
1164
+ </div>
1165
+ </div>
1166
+ </div>
1167
+ </div>
1168
+ ```
1169
+
1170
+ #### Props
1171
+
1172
+ | Name | Type | Default | Description |
1173
+ | --- | --- | --- | --- |
1174
+ | bearing | Number | 0 | Defines the rotation of the arrow in deg. |
1175
+ | name | String / Node | — | Text for the Marker. |
1176
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
1177
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
1178
+ | active | Boolean | false | Defines if marker is selected or not. |
1179
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
1180
+ | fixed | Boolean | false | Defines if marker is fixed and has no centering point. |
1181
+ | moving | Boolean | false | Defines whether the direction icon is displayed or not |
1182
+ | pinging | Boolean | false | Defines if marker is rendered with a pinging animation. |
1183
+ | positionIconName | String | — | Optional icon name that is shown on the position circle of the DOM marker. Use this when no marker content is shown |
1184
+ | iconNames | Array of Strings | — | List of rioglyph icon names |
1185
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence', 'bg-map-marker-route', 'bg-map-marker-info', 'bg-map-marker-succcess', 'bg-map-marker-warning' or 'bg-map-marker-danger'. |
1186
+ | anchorSize | String | 'md' | Used to control the marker's size. Possible values are: md and lg. |
1187
+ | cursor | String | 'cursor-pointer' | Possible values are: cursor-pointer, cursor-grab and cursor-not-allowed. |
1188
+ | markerOnHover | Boolean | false | Whether the marker is only visible on hover. |
1189
+
1190
+ ### Example: Example 5
1191
+
1192
+ Vehicle
1193
+
1194
+ Vehicle
1195
+
1196
+ #### Summary
1197
+
1198
+ Vehicle
1199
+
1200
+ Vehicle
1201
+
1202
+ #### React (tsx)
1203
+
1204
+ ```tsx
1205
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
1206
+
1207
+ export default () => (
1208
+ <div>
1209
+ <div className='bg-light padding-top-25 map-details-view padding-bottom-25'>
1210
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
1211
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1212
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-info' active />
1213
+ </div>
1214
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1215
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-success' active />
1216
+ </div>
1217
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1218
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-warning' active />
1219
+ </div>
1220
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1221
+ <SingleMapMarker iconNames={['truck-breakdown']} markerColor='bg-map-marker-danger' active />
1222
+ </div>
1223
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1224
+ <SingleMapMarker
1225
+ name='Vehicle'
1226
+ iconNames={['truck']}
1227
+ stateIconName='parking'
1228
+ markerColor='bg-map-marker-warning'
1229
+ />
1230
+ </div>
1231
+ </div>
1232
+ </div>
1233
+ <div className='bg-light map-details-view'>
1234
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
1235
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1236
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-info' />
1237
+ </div>
1238
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1239
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-success' />
1240
+ </div>
1241
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1242
+ <SingleMapMarker iconNames={['truck']} markerColor='bg-map-marker-warning' />
1243
+ </div>
1244
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1245
+ <SingleMapMarker iconNames={['truck-breakdown']} markerColor='bg-map-marker-danger' />
1246
+ </div>
1247
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1248
+ <SingleMapMarker
1249
+ name='Vehicle'
1250
+ iconNames={['truck-breakdown']}
1251
+ markerColor='bg-map-marker-warning'
1252
+ stateIconName='antenna'
1253
+ />
1254
+ </div>
1255
+ </div>
1256
+ </div>
1257
+ </div>
1258
+ );
1259
+ ```
1260
+
1261
+ #### HTML (html)
1262
+
1263
+ ```html
1264
+ <div>
1265
+ <div class="bg-light padding-top-25 map-details-view padding-bottom-25">
1266
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
1267
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1268
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-info" style="color: var(--color-map-marker-info);">
1269
+ <div class="rio-map-marker-translate">
1270
+ <div class="rio-map-single active cursor-pointer">
1271
+ <div class="rio-map-icon">
1272
+ <span class="rioglyph rioglyph-truck">
1273
+ </span>
1274
+ </div>
1275
+ </div>
1276
+ <div class="rio-map-anchor-arrow">
1277
+ </div>
1278
+ <div class="rio-map-anchor cursor-pointer">
1279
+ </div>
1280
+ </div>
1281
+ </div>
1282
+ </div>
1283
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1284
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-success" style="color: var(--color-map-marker-success);">
1285
+ <div class="rio-map-marker-translate">
1286
+ <div class="rio-map-single active cursor-pointer">
1287
+ <div class="rio-map-icon">
1288
+ <span class="rioglyph rioglyph-truck">
1289
+ </span>
1290
+ </div>
1291
+ </div>
1292
+ <div class="rio-map-anchor-arrow">
1293
+ </div>
1294
+ <div class="rio-map-anchor cursor-pointer">
1295
+ </div>
1296
+ </div>
1297
+ </div>
1298
+ </div>
1299
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1300
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-warning" style="color: var(--color-map-marker-warning);">
1301
+ <div class="rio-map-marker-translate">
1302
+ <div class="rio-map-single active cursor-pointer">
1303
+ <div class="rio-map-icon">
1304
+ <span class="rioglyph rioglyph-truck">
1305
+ </span>
1306
+ </div>
1307
+ </div>
1308
+ <div class="rio-map-anchor-arrow">
1309
+ </div>
1310
+ <div class="rio-map-anchor cursor-pointer">
1311
+ </div>
1312
+ </div>
1313
+ </div>
1314
+ </div>
1315
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1316
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-danger" style="color: var(--color-map-marker-danger);">
1317
+ <div class="rio-map-marker-translate">
1318
+ <div class="rio-map-single active cursor-pointer">
1319
+ <div class="rio-map-icon">
1320
+ <span class="rioglyph rioglyph-truck-breakdown">
1321
+ </span>
1322
+ </div>
1323
+ </div>
1324
+ <div class="rio-map-anchor-arrow">
1325
+ </div>
1326
+ <div class="rio-map-anchor cursor-pointer">
1327
+ </div>
1328
+ </div>
1329
+ </div>
1330
+ </div>
1331
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1332
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-warning" style="color: var(--color-map-marker-warning);">
1333
+ <div class="rio-map-marker-translate">
1334
+ <div class="rio-map-single cursor-pointer">
1335
+ <div class="rio-map-icon rio-map-marker-state ">
1336
+ <span class="rioglyph rioglyph-parking">
1337
+ </span>
1338
+ </div>
1339
+ <div class="rio-map-icon">
1340
+ <span class="rioglyph rioglyph-truck">
1341
+ </span>
1342
+ </div>
1343
+ <div class="rio-map-name">Vehicle</div>
1344
+ </div>
1345
+ <div class="rio-map-anchor-arrow">
1346
+ </div>
1347
+ <div class="rio-map-anchor cursor-pointer">
1348
+ </div>
1349
+ </div>
1350
+ </div>
1351
+ </div>
1352
+ </div>
1353
+ </div>
1354
+ <div class="bg-light map-details-view">
1355
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
1356
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1357
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-info" style="color: var(--color-map-marker-info);">
1358
+ <div class="rio-map-marker-translate">
1359
+ <div class="rio-map-single cursor-pointer">
1360
+ <div class="rio-map-icon">
1361
+ <span class="rioglyph rioglyph-truck">
1362
+ </span>
1363
+ </div>
1364
+ </div>
1365
+ <div class="rio-map-anchor-arrow">
1366
+ </div>
1367
+ <div class="rio-map-anchor cursor-pointer">
1368
+ </div>
1369
+ </div>
1370
+ </div>
1371
+ </div>
1372
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1373
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-success" style="color: var(--color-map-marker-success);">
1374
+ <div class="rio-map-marker-translate">
1375
+ <div class="rio-map-single cursor-pointer">
1376
+ <div class="rio-map-icon">
1377
+ <span class="rioglyph rioglyph-truck">
1378
+ </span>
1379
+ </div>
1380
+ </div>
1381
+ <div class="rio-map-anchor-arrow">
1382
+ </div>
1383
+ <div class="rio-map-anchor cursor-pointer">
1384
+ </div>
1385
+ </div>
1386
+ </div>
1387
+ </div>
1388
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1389
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-warning" style="color: var(--color-map-marker-warning);">
1390
+ <div class="rio-map-marker-translate">
1391
+ <div class="rio-map-single cursor-pointer">
1392
+ <div class="rio-map-icon">
1393
+ <span class="rioglyph rioglyph-truck">
1394
+ </span>
1395
+ </div>
1396
+ </div>
1397
+ <div class="rio-map-anchor-arrow">
1398
+ </div>
1399
+ <div class="rio-map-anchor cursor-pointer">
1400
+ </div>
1401
+ </div>
1402
+ </div>
1403
+ </div>
1404
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1405
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-danger" style="color: var(--color-map-marker-danger);">
1406
+ <div class="rio-map-marker-translate">
1407
+ <div class="rio-map-single cursor-pointer">
1408
+ <div class="rio-map-icon">
1409
+ <span class="rioglyph rioglyph-truck-breakdown">
1410
+ </span>
1411
+ </div>
1412
+ </div>
1413
+ <div class="rio-map-anchor-arrow">
1414
+ </div>
1415
+ <div class="rio-map-anchor cursor-pointer">
1416
+ </div>
1417
+ </div>
1418
+ </div>
1419
+ </div>
1420
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1421
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-warning" style="color: var(--color-map-marker-warning);">
1422
+ <div class="rio-map-marker-translate">
1423
+ <div class="rio-map-single cursor-pointer">
1424
+ <div class="rio-map-icon rio-map-marker-state ">
1425
+ <span class="rioglyph rioglyph-antenna">
1426
+ </span>
1427
+ </div>
1428
+ <div class="rio-map-icon">
1429
+ <span class="rioglyph rioglyph-truck-breakdown">
1430
+ </span>
1431
+ </div>
1432
+ <div class="rio-map-name">Vehicle</div>
1433
+ </div>
1434
+ <div class="rio-map-anchor-arrow">
1435
+ </div>
1436
+ <div class="rio-map-anchor cursor-pointer">
1437
+ </div>
1438
+ </div>
1439
+ </div>
1440
+ </div>
1441
+ </div>
1442
+ </div>
1443
+ </div>
1444
+ ```
1445
+
1446
+ #### Props
1447
+
1448
+ | Name | Type | Default | Description |
1449
+ | --- | --- | --- | --- |
1450
+ | bearing | Number | 0 | Defines the rotation of the arrow in deg. |
1451
+ | name | String / Node | — | Text for the Marker. |
1452
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
1453
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
1454
+ | active | Boolean | false | Defines if marker is selected or not. |
1455
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
1456
+ | fixed | Boolean | false | Defines if marker is fixed and has no centering point. |
1457
+ | moving | Boolean | false | Defines whether the direction icon is displayed or not |
1458
+ | pinging | Boolean | false | Defines if marker is rendered with a pinging animation. |
1459
+ | positionIconName | String | — | Optional icon name that is shown on the position circle of the DOM marker. Use this when no marker content is shown |
1460
+ | iconNames | Array of Strings | — | List of rioglyph icon names |
1461
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence', 'bg-map-marker-route', 'bg-map-marker-info', 'bg-map-marker-succcess', 'bg-map-marker-warning' or 'bg-map-marker-danger'. |
1462
+ | anchorSize | String | 'md' | Used to control the marker's size. Possible values are: md and lg. |
1463
+ | cursor | String | 'cursor-pointer' | Possible values are: cursor-pointer, cursor-grab and cursor-not-allowed. |
1464
+ | markerOnHover | Boolean | false | Whether the marker is only visible on hover. |
1465
+
1466
+ ### Example: Example 6
1467
+
1468
+ Vehicle
1469
+
1470
+ Vehicle
1471
+
1472
+ The animation plays automatically when using the SingleMapMarker prop pinging
1473
+
1474
+ #### Summary
1475
+
1476
+ Vehicle
1477
+
1478
+ Vehicle
1479
+
1480
+ The animation plays automatically when using the SingleMapMarker prop pinging
1481
+
1482
+ #### React (tsx)
1483
+
1484
+ ```tsx
1485
+ import SingleMapMarker from '@rio-cloud/rio-uikit/SingleMapMarker';
1486
+
1487
+ export default () => (
1488
+ <div>
1489
+ <div className='bg-light padding-top-25'>
1490
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
1491
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1492
+ <SingleMapMarker
1493
+ bearing={60}
1494
+ name='Vehicle'
1495
+ iconNames={['truck']}
1496
+ markerColor='bg-map-marker-warning'
1497
+ pinging
1498
+ />
1499
+ </div>
1500
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1501
+ <SingleMapMarker
1502
+ bearing={60}
1503
+ name='Vehicle'
1504
+ iconNames={['truck']}
1505
+ markerColor='bg-map-marker-danger'
1506
+ moving
1507
+ pinging
1508
+ />
1509
+ </div>
1510
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1511
+ <SingleMapMarker iconNames={['truck-breakdown']} markerColor='bg-map-marker-danger' pinging />
1512
+ </div>
1513
+ <div className='margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center'>
1514
+ <SingleMapMarker
1515
+ iconNames={['truck-breakdown']}
1516
+ markerColor='bg-map-marker-danger'
1517
+ active
1518
+ pinging
1519
+ />
1520
+ </div>
1521
+ </div>
1522
+ </div>
1523
+ <p className='margin-bottom-0'>
1524
+ The animation plays automatically when using the SingleMapMarker prop <code className='code'>pinging</code>
1525
+ </p>
1526
+ </div>
1527
+ );
1528
+ ```
1529
+
1530
+ #### HTML (html)
1531
+
1532
+ ```html
1533
+ <div>
1534
+ <div class="bg-light padding-top-25">
1535
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
1536
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1537
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-warning" style="color: var(--color-map-marker-warning);">
1538
+ <div class="rio-map-marker-translate">
1539
+ <div class="rio-map-single pinging cursor-pointer">
1540
+ <div class="rio-map-icon">
1541
+ <span class="rioglyph rioglyph-truck">
1542
+ </span>
1543
+ </div>
1544
+ <div class="rio-map-name">Vehicle</div>
1545
+ </div>
1546
+ <div class="rio-map-anchor-arrow">
1547
+ </div>
1548
+ <div class="rio-map-anchor cursor-pointer">
1549
+ </div>
1550
+ </div>
1551
+ </div>
1552
+ </div>
1553
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1554
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-danger" style="color: var(--color-map-marker-danger);">
1555
+ <div class="rio-map-marker-translate">
1556
+ <div class="rio-map-single moving pinging cursor-pointer">
1557
+ <div class="rio-map-icon rio-map-marker-state rio-map-direction">
1558
+ <span class="rioglyph rioglyph-direction" style="transform: rotate(60deg);">
1559
+ </span>
1560
+ </div>
1561
+ <div class="rio-map-icon">
1562
+ <span class="rioglyph rioglyph-truck">
1563
+ </span>
1564
+ </div>
1565
+ <div class="rio-map-name">Vehicle</div>
1566
+ </div>
1567
+ <div class="rio-map-anchor-arrow">
1568
+ </div>
1569
+ <div class="rio-map-anchor cursor-pointer">
1570
+ </div>
1571
+ </div>
1572
+ </div>
1573
+ </div>
1574
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1575
+ <div class="rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-danger" style="color: var(--color-map-marker-danger);">
1576
+ <div class="rio-map-marker-translate">
1577
+ <div class="rio-map-single pinging cursor-pointer">
1578
+ <div class="rio-map-icon">
1579
+ <span class="rioglyph rioglyph-truck-breakdown">
1580
+ </span>
1581
+ </div>
1582
+ </div>
1583
+ <div class="rio-map-anchor-arrow">
1584
+ </div>
1585
+ <div class="rio-map-anchor cursor-pointer">
1586
+ </div>
1587
+ </div>
1588
+ </div>
1589
+ </div>
1590
+ <div class="margin-top-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1591
+ <div class="active rio-map-marker rio-map-marker-bottom-center" data-marker-type="single-map-marker-danger" style="color: var(--color-map-marker-danger);">
1592
+ <div class="rio-map-marker-translate">
1593
+ <div class="rio-map-single active pinging cursor-pointer">
1594
+ <div class="rio-map-icon">
1595
+ <span class="rioglyph rioglyph-truck-breakdown">
1596
+ </span>
1597
+ </div>
1598
+ </div>
1599
+ <div class="rio-map-anchor-arrow">
1600
+ </div>
1601
+ <div class="rio-map-anchor cursor-pointer">
1602
+ </div>
1603
+ </div>
1604
+ </div>
1605
+ </div>
1606
+ </div>
1607
+ </div>
1608
+ <p class="margin-bottom-0">The animation plays automatically when using the SingleMapMarker prop <code class="code">pinging</code>
1609
+ </p>
1610
+ </div>
1611
+ ```
1612
+
1613
+ #### Props
1614
+
1615
+ | Name | Type | Default | Description |
1616
+ | --- | --- | --- | --- |
1617
+ | bearing | Number | 0 | Defines the rotation of the arrow in deg. |
1618
+ | name | String / Node | — | Text for the Marker. |
1619
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
1620
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
1621
+ | active | Boolean | false | Defines if marker is selected or not. |
1622
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
1623
+ | fixed | Boolean | false | Defines if marker is fixed and has no centering point. |
1624
+ | moving | Boolean | false | Defines whether the direction icon is displayed or not |
1625
+ | pinging | Boolean | false | Defines if marker is rendered with a pinging animation. |
1626
+ | positionIconName | String | — | Optional icon name that is shown on the position circle of the DOM marker. Use this when no marker content is shown |
1627
+ | iconNames | Array of Strings | — | List of rioglyph icon names |
1628
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence', 'bg-map-marker-route', 'bg-map-marker-info', 'bg-map-marker-succcess', 'bg-map-marker-warning' or 'bg-map-marker-danger'. |
1629
+ | anchorSize | String | 'md' | Used to control the marker's size. Possible values are: md and lg. |
1630
+ | cursor | String | 'cursor-pointer' | Possible values are: cursor-pointer, cursor-grab and cursor-not-allowed. |
1631
+ | markerOnHover | Boolean | false | Whether the marker is only visible on hover. |
1632
+
1633
+ ## ClusterMapMarker
1634
+
1635
+ ### Example: Example 7
1636
+
1637
+ 100
1638
+
1639
+ 10
1640
+ 25
1641
+
1642
+ 100
1643
+
1644
+ 10
1645
+ 25
1646
+
1647
+ 100
1648
+
1649
+ 100
1650
+
1651
+ 100
1652
+
1653
+ #### Summary
1654
+
1655
+ 100
1656
+
1657
+ 10
1658
+ 25
1659
+
1660
+ 100
1661
+
1662
+ 10
1663
+ 25
1664
+
1665
+ 100
1666
+
1667
+ 100
1668
+
1669
+ 100
1670
+
1671
+ #### React (tsx)
1672
+
1673
+ ```tsx
1674
+ import ClusterMapMarker from '@rio-cloud/rio-uikit/ClusterMapMarker';
1675
+
1676
+ export default () => {
1677
+ const markerWrapperClasses =
1678
+ 'margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center';
1679
+ return (
1680
+ <div>
1681
+ <div className='bg-light padding-top-15 padding-bottom-25'>
1682
+ <div className='margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls'>
1683
+ <div className={markerWrapperClasses}>
1684
+ <ClusterMapMarker count={100} warningCount={25} exceptionCount={10} />
1685
+ </div>
1686
+ <div className={markerWrapperClasses}>
1687
+ <ClusterMapMarker count={100} warningCount={25} exceptionCount={10} active />
1688
+ </div>
1689
+ <div className={markerWrapperClasses}>
1690
+ <ClusterMapMarker
1691
+ count={100}
1692
+ warningCount={0}
1693
+ exceptionCount={0}
1694
+ markerColor='bg-map-marker-poi'
1695
+ />
1696
+ </div>
1697
+ <div className={markerWrapperClasses}>
1698
+ <ClusterMapMarker
1699
+ count={100}
1700
+ warningCount={0}
1701
+ exceptionCount={0}
1702
+ markerColor='bg-map-marker-geofence'
1703
+ />
1704
+ </div>
1705
+ <div className={markerWrapperClasses}>
1706
+ <ClusterMapMarker
1707
+ count={100}
1708
+ warningCount={0}
1709
+ exceptionCount={0}
1710
+ iconName='geofence'
1711
+ markerColor='bg-map-marker-geofence'
1712
+ />
1713
+ </div>
1714
+ </div>
1715
+ </div>
1716
+ </div>
1717
+ );
1718
+ };
1719
+ ```
1720
+
1721
+ #### HTML (html)
1722
+
1723
+ ```html
1724
+ <div>
1725
+ <div class="bg-light padding-top-15 padding-bottom-25">
1726
+ <div class="margin-left-25 padding-left-25 margin-right-25 padding-right-25 display-flex-ls">
1727
+ <div class="margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1728
+ <div class="rio-map-marker rio-map-marker-center-center" data-marker-type="cluster-map-marker-asset" style="color: var(--color-map-marker-asset);">
1729
+ <div class="rio-map-marker-translate">
1730
+ <div class="rio-map-cluster">
1731
+ <div class="rio-map-cluster-circle cursor-pointer">
1732
+ <div class="rio-map-cluster-content">
1733
+ <div class="rio-map-count">100</div>
1734
+ </div>
1735
+ </div>
1736
+ <div class="rio-map-bubble exception">10</div>
1737
+ <div class="rio-map-bubble warning">25</div>
1738
+ </div>
1739
+ </div>
1740
+ </div>
1741
+ </div>
1742
+ <div class="margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1743
+ <div class="active rio-map-marker rio-map-marker-center-center" data-marker-type="cluster-map-marker-asset" style="color: var(--color-map-marker-asset);">
1744
+ <div class="rio-map-marker-translate">
1745
+ <div class="rio-map-cluster">
1746
+ <div class="rio-map-cluster-circle active cursor-pointer">
1747
+ <div class="rio-map-cluster-content">
1748
+ <div class="rio-map-count">100</div>
1749
+ </div>
1750
+ </div>
1751
+ <div class="rio-map-bubble exception">10</div>
1752
+ <div class="rio-map-bubble warning">25</div>
1753
+ </div>
1754
+ </div>
1755
+ </div>
1756
+ </div>
1757
+ <div class="margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1758
+ <div class="rio-map-marker rio-map-marker-center-center" data-marker-type="cluster-map-marker-poi" style="color: var(--color-map-marker-poi);">
1759
+ <div class="rio-map-marker-translate">
1760
+ <div class="rio-map-cluster">
1761
+ <div class="rio-map-cluster-circle cursor-pointer">
1762
+ <div class="rio-map-cluster-content">
1763
+ <div class="rio-map-count">100</div>
1764
+ </div>
1765
+ </div>
1766
+ </div>
1767
+ </div>
1768
+ </div>
1769
+ </div>
1770
+ <div class="margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1771
+ <div class="rio-map-marker rio-map-marker-center-center" data-marker-type="cluster-map-marker-geofence" style="color: var(--color-map-marker-geofence);">
1772
+ <div class="rio-map-marker-translate">
1773
+ <div class="rio-map-cluster">
1774
+ <div class="rio-map-cluster-circle cursor-pointer">
1775
+ <div class="rio-map-cluster-content">
1776
+ <div class="rio-map-count">100</div>
1777
+ </div>
1778
+ </div>
1779
+ </div>
1780
+ </div>
1781
+ </div>
1782
+ </div>
1783
+ <div class="margin-top-25 margin-bottom-25 padding-25 flex-1-0-ls display-flex justify-content-center">
1784
+ <div class="rio-map-marker rio-map-marker-center-center" data-marker-type="cluster-map-marker-geofence" style="color: var(--color-map-marker-geofence);">
1785
+ <div class="rio-map-marker-translate">
1786
+ <div class="rio-map-cluster">
1787
+ <div class="rio-map-cluster-circle cursor-pointer">
1788
+ <div class="rio-map-cluster-content">
1789
+ <span class="rio-map-icon">
1790
+ <span class="rioglyph rioglyph-geofence">
1791
+ </span>
1792
+ </span>
1793
+ <div class="rio-map-count">100</div>
1794
+ </div>
1795
+ </div>
1796
+ </div>
1797
+ </div>
1798
+ </div>
1799
+ </div>
1800
+ </div>
1801
+ </div>
1802
+ </div>
1803
+ ```
1804
+
1805
+ #### Props
1806
+
1807
+ | Name | Type | Default | Description |
1808
+ | --- | --- | --- | --- |
1809
+ | count | Number | — | Number displayed in the center. |
1810
+ | warningCount | Number | 0 | Displayed in the orange badge if more than 0. |
1811
+ | exceptionCount | Number | 0 | Displayed in the red badge if more than 0. |
1812
+ | active | Boolean | false | Defines if marker is selected or not. |
1813
+ | clickable | Boolean | true | Defines if marker is clickable or not. |
1814
+ | markerColor | String | 'bg-map-marker-asset' | Defines the color of the marker. Possible values are:'bg-map-marker-asset', 'bg-map-marker-poi', 'bg-map-marker-geofence' or 'bg-map-marker-route'. |