Scale the icon uniformly. Specify a number or an Interpolation object.
1
iconPadding
number
Padding between the icon and the pin's border in pixels.
2
iconFit
'fill' | 'contain' | 'cover'
How the icon should fit inside the pin. Options: fill (stretch to fill), cover (maintain aspect ratio and fill), contain (maintain aspect ratio and fit inside).
cover
iconOverflow
'visible' | 'hidden'
Whether the icon should overflow the circle of the pin. Options: visible, hidden.
hidden
iconVisible
boolean | number
Controls icon visibility. If boolean, directly shows/hides the icon. If number, defines the zoom level at which the icon becomes visible.
Options to control how a label is rendered.
marginnumbermaxLinesnumbertextSizenumbertextPlacement'top'|'left'|'right'|'hidden'|['top', 'left', 'right', 'hidden']maxWidthnumberlineHeightnumbercolor#333outlineColorwhitetextColorcolor.textOutlineColoroutlineColor.pinColorcolor.pinOutlineColoroutlineColor.pinColorInactivepinColor.pinOutlineColorInactivepinOutlineColor.iconstringiconSizenumbericonto be set.iconScalenumber| InterpolationiconPaddingnumbericonFit'fill'|'contain'|'cover'fill(stretch to fill),cover(maintain aspect ratio and fill),contain(maintain aspect ratio and fit inside).covericonOverflow'visible'|'hidden'visible,hidden.hiddeniconVisibleboolean|numbertruepinOpacitynumber1