Symbol
Class for Symbol
Constructors
Types
Functions
Properties
The annotation manger that manipulate this annotation
The iconAnchor property
<p> Part of the icon placed closest to the anchor. </p>
The iconColor property in Int
<p> The color of the icon. This can only be used with sdf icons. </p>
The iconColor property in String
<p> The color of the icon. This can only be used with sdf icons. </p>
The iconHaloBlur property
<p> Fade out the halo towards the outside. </p>
The iconHaloColor property in Int
<p> The color of the icon's halo. Icon halos can only be used with SDF icons. </p>
The iconHaloColor property in String
<p> The color of the icon's halo. Icon halos can only be used with SDF icons. </p>
The iconHaloWidth property
<p> Distance of halo to the icon outline. </p>
The iconOffset property
<p> Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of {@link PropertyFactory#iconSize} to obtain the final offset in density-independent pixels. When combined with {@link PropertyFactory#iconRotate} the offset will be as if the rotated direction was up. </p>
The iconOpacity property
<p> The opacity at which the icon will be drawn. </p>
The iconRotate property
<p> Rotates the icon clockwise. </p>
The iconSize property
<p> Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by {@link PropertyFactory#iconSize}. 1 is the original size; 3 triples the size of the image. </p>
The Point of the symbol, which represents the location of the symbol on the map
<p> To update the symbol on the map use {@link SymbolManager#update(Annotation)}. <p>
The symbolSortKey property
<p> Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When {@link PropertyFactory#iconAllowOverlap} or {@link PropertyFactory#textAllowOverlap} is `false`, features with a lower sort key will have priority during placement. When {@link PropertyFactory#iconAllowOverlap} or {@link PropertyFactory#textAllowOverlap} is set to `true`, features with a higher sort key will overlap over features with a lower sort key. </p>
The textAnchor property
<p> Part of the text placed closest to the anchor. </p>
The textColor property in Int
<p> The color with which the text will be drawn. </p>
The textColor property in String
<p> The color with which the text will be drawn. </p>
The textHaloBlur property
<p> The halo's fadeout distance towards the outside. </p>
The textHaloColor property in Int
<p> The color of the text's halo, which helps it stand out from backgrounds. </p>
The textHaloColor property in String
<p> The color of the text's halo, which helps it stand out from backgrounds. </p>
The textHaloWidth property
<p> Distance of halo to the font outline. Max text halo width is 1/4 of the font-size. </p>
The textJustify property
<p> Text justification options. </p>
The textLetterSpacing property
<p> Text tracking amount. </p>
The textMaxWidth property
<p> The maximum line width for text wrapping. </p>
The textOffset property
<p> Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position. </p>
The textOpacity property
<p> The opacity at which the text will be drawn. </p>
The textRadialOffset property
<p> Radial offset of text, in the direction of the symbol's anchor. Useful in combination with {@link PropertyFactory#textVariableAnchor}, which defaults to using the two-dimensional {@link PropertyFactory#textOffset} if present. </p>
The textRotate property
<p> Rotates the text clockwise. </p>
The textTransform property
<p> Specifies how to capitalize text, similar to the CSS {@link PropertyFactory#textTransform} property. </p>