SiMapTooltipComponent documentation¶
selector
si-map-tooltip
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
maxLabelLength ¶ | number | 50 | Adds the maximum length of a string thats allowed in a tooltip and if its longer it cuts off the rest and adds 3 dots at the end. If set to -1, it will not cut off the string. |
moreText ¶ | TranslatableString | $localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...` | Cutoff text for tooltips, when cluster combines more than 4 features |
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
(readonly) nativeElement ¶ | HTMLElement | ||
setTooltip(...) ¶ | (labels: (string | string [])) => void | Method sets tooltip content. If parameter is of type string, it will directly set it as tooltip content. If it is array of string, it will render it as list of those strings. Parameters |
Types Documentation¶
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
Except where otherwise noted, content on this site is licensed under MIT License.