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.
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.
true
opacity
number
The opacity of the Label when it is enabled and visible.
Options to control how a label is rendered.
marginnumbermaxLinesnumbertextSizenumbermaxWidthnumberlineHeightnumbercolorstring#333outlineColorstringwhitetextColorstringcolor.textOutlineColorstringoutlineColor.pinColorstringcolor.pinOutlineColorstringoutlineColor.pinColorInactivestringpinColor.pinOutlineColorInactivestringpinOutlineColor.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'hiddeniconVisibleboolean|numbertrueopacitynumber1