Skip to content

API reference / Common / Engine types / AnnotationIconFit

Interface: AnnotationIconFit ​

/IF (Table 247) — how a widget's icons are scaled and placed in it.

Properties ​

PropertyDescription
scaleWhen
| AnnotationIconScaleWhen | null
/SW.
scaleType
| AnnotationIconScaleType | null
/S.
alignment
[number, number] | null
/A — the fraction of the room left over that goes left of the icon, then below it.
fitBounds
boolean | null
/FB — whether the icon fits the widget's bounds, its border ignored.