OptionalcolorOptionalcontentContent of the text3d
OptionalfillOpacity of the text fill, independent of stroke and outline opacity. Set to 0 to show only stroke/outline. Accepts values between 0 and 1.
OptionalflipAttempt to keep the Text3D facing the camera as much as possible
OptionalfontURL to a custom font file (.ttf, .otf, .woff). Falls back to Roboto if undefined.
OptionalfontThe size of the text in meters. Will be automatically adjusted if it exceeds the text area bounds.
OptionalhoverColor to display when text is hovered. Falls back to global hover color if undefined.
OptionalmarginPadding between the text and its bounding box, in meters. Can be specified as either:
OptionalmaxMaximum height constraint for the text area in meters. Overrides default text field constraints when set.
OptionalmaxMaximum width constraint for the text area in meters. Overrides default text field constraints when set.
OptionaloutlineBlur radius for the text outline. Can be a number in pixels or a string with units.
OptionaloutlineColor of the text outline. Accepts any CSS color string.
OptionaloutlineHorizontal offset of the outline effect from the text, in pixels.
OptionaloutlineVertical offset of the outline effect from the text, in pixels.
OptionaloutlineOpacity of the text outline. Accepts values between 0 and 1.
OptionaloutlineWidth of the text outline effect in pixels.
Optional ReadonlypositionThe position of the Text3D in [lon, lat, altitude]
OptionalstrokeColor of the text stroke when strokeWidth > 0. Accepts any CSS color string.
OptionalstrokeOpacity of the text stroke when strokeWidth > 0.
OptionalstrokeWidth of the inner stroke of each text glyph.
OptionalvisibleWhether the Text3D is visible
The color of the text. Will change to hoverColor when the associated polygon is hovered. Accepts any CSS color string.