Companion
object Companion
Content copied to clipboard
Static variables and methods.
Functions
Properties
defaultIconAllowOverlap
Link copied to clipboard
If true, the icon will be visible even if it collides with other previously drawn symbols.
defaultIconAllowOverlapAsExpression
Link copied to clipboard
This is an Expression representation of "icon-allow-overlap".
defaultIconAnchor
Link copied to clipboard
Part of the icon placed closest to the anchor.
defaultIconAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "icon-anchor".
defaultIconColor
Link copied to clipboard
The color of the icon.
defaultIconColorAsColorInt
Link copied to clipboard
The color of the icon.
defaultIconColorAsExpression
Link copied to clipboard
This is an Expression representation of "icon-color".
defaultIconColorTransition
Link copied to clipboard
Transition options for IconColor.
defaultIconHaloBlur
Link copied to clipboard
Fade out the halo towards the outside.
defaultIconHaloBlurAsExpression
Link copied to clipboard
This is an Expression representation of "icon-halo-blur".
defaultIconHaloBlurTransition
Link copied to clipboard
Transition options for IconHaloBlur.
defaultIconHaloColor
Link copied to clipboard
The color of the icon's halo.
defaultIconHaloColorAsColorInt
Link copied to clipboard
The color of the icon's halo.
defaultIconHaloColorAsExpression
Link copied to clipboard
This is an Expression representation of "icon-halo-color".
defaultIconHaloColorTransition
Link copied to clipboard
Transition options for IconHaloColor.
defaultIconHaloWidth
Link copied to clipboard
Distance of halo to the icon outline.
defaultIconHaloWidthAsExpression
Link copied to clipboard
This is an Expression representation of "icon-halo-width".
defaultIconHaloWidthTransition
Link copied to clipboard
Transition options for IconHaloWidth.
defaultIconIgnorePlacement
Link copied to clipboard
If true, other symbols can be visible even if they collide with the icon.
defaultIconIgnorePlacementAsExpression
Link copied to clipboard
This is an Expression representation of "icon-ignore-placement".
defaultIconImage
Link copied to clipboard
Name of image in sprite to use for drawing an image background.
defaultIconImageAsExpression
Link copied to clipboard
This is an Expression representation of "icon-image".
defaultIconKeepUpright
Link copied to clipboard
If true, the icon may be flipped to prevent it from being rendered upside-down.
defaultIconKeepUprightAsExpression
Link copied to clipboard
This is an Expression representation of "icon-keep-upright".
defaultIconOffset
Link copied to clipboard
Offset distance of icon from its anchor.
defaultIconOffsetAsExpression
Link copied to clipboard
This is an Expression representation of "icon-offset".
defaultIconOpacity
Link copied to clipboard
The opacity at which the icon will be drawn.
defaultIconOpacityAsExpression
Link copied to clipboard
This is an Expression representation of "icon-opacity".
defaultIconOpacityTransition
Link copied to clipboard
Transition options for IconOpacity.
defaultIconOptional
Link copied to clipboard
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
defaultIconOptionalAsExpression
Link copied to clipboard
This is an Expression representation of "icon-optional".
defaultIconPadding
Link copied to clipboard
Size of the additional area around the icon bounding box used for detecting symbol collisions.
defaultIconPaddingAsExpression
Link copied to clipboard
This is an Expression representation of "icon-padding".
defaultIconPitchAlignment
Link copied to clipboard
Orientation of icon when map is pitched.
defaultIconPitchAlignmentAsExpression
Link copied to clipboard
This is an Expression representation of "icon-pitch-alignment".
defaultIconRotate
Link copied to clipboard
Rotates the icon clockwise.
defaultIconRotateAsExpression
Link copied to clipboard
This is an Expression representation of "icon-rotate".
defaultIconRotationAlignment
Link copied to clipboard
In combination with
symbol-placement
, determines the rotation behavior of icons.defaultIconRotationAlignmentAsExpression
Link copied to clipboard
This is an Expression representation of "icon-rotation-alignment".
defaultIconSize
Link copied to clipboard
Scales the original size of the icon by the provided factor.
defaultIconSizeAsExpression
Link copied to clipboard
This is an Expression representation of "icon-size".
defaultIconTextFit
Link copied to clipboard
Scales the icon to fit around the associated text.
defaultIconTextFitAsExpression
Link copied to clipboard
This is an Expression representation of "icon-text-fit".
defaultIconTextFitPadding
Link copied to clipboard
Size of the additional area added to dimensions determined by
icon-text-fit
, in clockwise order: top, right, bottom, left.defaultIconTextFitPaddingAsExpression
Link copied to clipboard
This is an Expression representation of "icon-text-fit-padding".
defaultIconTranslate
Link copied to clipboard
Distance that the icon's anchor is moved from its original placement.
defaultIconTranslateAnchor
Link copied to clipboard
Controls the frame of reference for
icon-translate
.defaultIconTranslateAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "icon-translate-anchor".
defaultIconTranslateAsExpression
Link copied to clipboard
This is an Expression representation of "icon-translate".
defaultIconTranslateTransition
Link copied to clipboard
Transition options for IconTranslate.
defaultMaxZoom
Link copied to clipboard
The maximum zoom level for the layer.
defaultMinZoom
Link copied to clipboard
The minimum zoom level for the layer.
defaultSymbolAvoidEdges
Link copied to clipboard
If true, the symbols will not cross tile edges to avoid mutual collisions.
defaultSymbolAvoidEdgesAsExpression
Link copied to clipboard
This is an Expression representation of "symbol-avoid-edges".
defaultSymbolPlacement
Link copied to clipboard
Label placement relative to its geometry.
defaultSymbolPlacementAsExpression
Link copied to clipboard
This is an Expression representation of "symbol-placement".
defaultSymbolSortKey
Link copied to clipboard
Sorts features in ascending order based on this value.
defaultSymbolSortKeyAsExpression
Link copied to clipboard
This is an Expression representation of "symbol-sort-key".
defaultSymbolSpacing
Link copied to clipboard
Distance between two symbol anchors.
defaultSymbolSpacingAsExpression
Link copied to clipboard
This is an Expression representation of "symbol-spacing".
defaultSymbolZOrder
Link copied to clipboard
Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport.
defaultSymbolZOrderAsExpression
Link copied to clipboard
This is an Expression representation of "symbol-z-order".
defaultTextAllowOverlap
Link copied to clipboard
If true, the text will be visible even if it collides with other previously drawn symbols.
defaultTextAllowOverlapAsExpression
Link copied to clipboard
This is an Expression representation of "text-allow-overlap".
defaultTextAnchor
Link copied to clipboard
Part of the text placed closest to the anchor.
defaultTextAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "text-anchor".
defaultTextColor
Link copied to clipboard
The color with which the text will be drawn.
defaultTextColorAsColorInt
Link copied to clipboard
The color with which the text will be drawn.
defaultTextColorAsExpression
Link copied to clipboard
This is an Expression representation of "text-color".
defaultTextColorTransition
Link copied to clipboard
Transition options for TextColor.
defaultTextField
Link copied to clipboard
Value to use for a text label.
defaultTextFieldAsExpression
Link copied to clipboard
This is an Expression representation of "text-field".
defaultTextFieldAsString
Link copied to clipboard
Value to use for a text label.
defaultTextFont
Link copied to clipboard
Font stack to use for displaying text.
defaultTextFontAsExpression
Link copied to clipboard
This is an Expression representation of "text-font".
defaultTextHaloBlur
Link copied to clipboard
The halo's fadeout distance towards the outside.
defaultTextHaloBlurAsExpression
Link copied to clipboard
This is an Expression representation of "text-halo-blur".
defaultTextHaloBlurTransition
Link copied to clipboard
Transition options for TextHaloBlur.
defaultTextHaloColor
Link copied to clipboard
The color of the text's halo, which helps it stand out from backgrounds.
defaultTextHaloColorAsColorInt
Link copied to clipboard
The color of the text's halo, which helps it stand out from backgrounds.
defaultTextHaloColorAsExpression
Link copied to clipboard
This is an Expression representation of "text-halo-color".
defaultTextHaloColorTransition
Link copied to clipboard
Transition options for TextHaloColor.
defaultTextHaloWidth
Link copied to clipboard
Distance of halo to the font outline.
defaultTextHaloWidthAsExpression
Link copied to clipboard
This is an Expression representation of "text-halo-width".
defaultTextHaloWidthTransition
Link copied to clipboard
Transition options for TextHaloWidth.
defaultTextIgnorePlacement
Link copied to clipboard
If true, other symbols can be visible even if they collide with the text.
defaultTextIgnorePlacementAsExpression
Link copied to clipboard
This is an Expression representation of "text-ignore-placement".
defaultTextJustify
Link copied to clipboard
Text justification options.
defaultTextJustifyAsExpression
Link copied to clipboard
This is an Expression representation of "text-justify".
defaultTextKeepUpright
Link copied to clipboard
If true, the text may be flipped vertically to prevent it from being rendered upside-down.
defaultTextKeepUprightAsExpression
Link copied to clipboard
This is an Expression representation of "text-keep-upright".
defaultTextLetterSpacing
Link copied to clipboard
Text tracking amount.
defaultTextLetterSpacingAsExpression
Link copied to clipboard
This is an Expression representation of "text-letter-spacing".
defaultTextLineHeight
Link copied to clipboard
Text leading value for multi-line text.
defaultTextLineHeightAsExpression
Link copied to clipboard
This is an Expression representation of "text-line-height".
defaultTextMaxAngle
Link copied to clipboard
Maximum angle change between adjacent characters.
defaultTextMaxAngleAsExpression
Link copied to clipboard
This is an Expression representation of "text-max-angle".
defaultTextMaxWidth
Link copied to clipboard
The maximum line width for text wrapping.
defaultTextMaxWidthAsExpression
Link copied to clipboard
This is an Expression representation of "text-max-width".
defaultTextOffset
Link copied to clipboard
Offset distance of text from its anchor.
defaultTextOffsetAsExpression
Link copied to clipboard
This is an Expression representation of "text-offset".
defaultTextOpacity
Link copied to clipboard
The opacity at which the text will be drawn.
defaultTextOpacityAsExpression
Link copied to clipboard
This is an Expression representation of "text-opacity".
defaultTextOpacityTransition
Link copied to clipboard
Transition options for TextOpacity.
defaultTextOptional
Link copied to clipboard
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
defaultTextOptionalAsExpression
Link copied to clipboard
This is an Expression representation of "text-optional".
defaultTextPadding
Link copied to clipboard
Size of the additional area around the text bounding box used for detecting symbol collisions.
defaultTextPaddingAsExpression
Link copied to clipboard
This is an Expression representation of "text-padding".
defaultTextPitchAlignment
Link copied to clipboard
Orientation of text when map is pitched.
defaultTextPitchAlignmentAsExpression
Link copied to clipboard
This is an Expression representation of "text-pitch-alignment".
defaultTextRadialOffset
Link copied to clipboard
Radial offset of text, in the direction of the symbol's anchor.
defaultTextRadialOffsetAsExpression
Link copied to clipboard
This is an Expression representation of "text-radial-offset".
defaultTextRotate
Link copied to clipboard
Rotates the text clockwise.
defaultTextRotateAsExpression
Link copied to clipboard
This is an Expression representation of "text-rotate".
defaultTextRotationAlignment
Link copied to clipboard
In combination with
symbol-placement
, determines the rotation behavior of the individual glyphs forming the text.defaultTextRotationAlignmentAsExpression
Link copied to clipboard
This is an Expression representation of "text-rotation-alignment".
defaultTextSize
Link copied to clipboard
Font size.
defaultTextSizeAsExpression
Link copied to clipboard
This is an Expression representation of "text-size".
defaultTextTransform
Link copied to clipboard
Specifies how to capitalize text, similar to the CSS
text-transform
property.defaultTextTransformAsExpression
Link copied to clipboard
This is an Expression representation of "text-transform".
defaultTextTranslate
Link copied to clipboard
Distance that the text's anchor is moved from its original placement.
defaultTextTranslateAnchor
Link copied to clipboard
Controls the frame of reference for
text-translate
.defaultTextTranslateAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "text-translate-anchor".
defaultTextTranslateAsExpression
Link copied to clipboard
This is an Expression representation of "text-translate".
defaultTextTranslateTransition
Link copied to clipboard
Transition options for TextTranslate.
defaultTextVariableAnchor
Link copied to clipboard
To increase the chance of placing high-priority labels on the map, you can provide an array of
text-anchor
locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label.defaultTextVariableAnchorAsExpression
Link copied to clipboard
This is an Expression representation of "text-variable-anchor".
defaultTextWritingMode
Link copied to clipboard
The property allows control over a symbol's orientation.
defaultTextWritingModeAsExpression
Link copied to clipboard
This is an Expression representation of "text-writing-mode".
defaultVisibility
Link copied to clipboard
Visibility of the layer.