Class PropertyFactory
java.lang.Object
com.trimblemaps.mapsdk.style.layers.PropertyFactory
Constructs paint/layout properties for Layers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyValue<String>backgroundColor(int value) The color with which the background will be drawn.static PropertyValue<Expression>backgroundColor(Expression expression) The color with which the background will be drawn.static PropertyValue<String>backgroundColor(String value) The color with which the background will be drawn.static PropertyValue<Expression>backgroundOpacity(Expression expression) The opacity at which the background will be drawn.static PropertyValue<Float>backgroundOpacity(Float value) The opacity at which the background will be drawn.static PropertyValue<Expression>backgroundPattern(Expression expression) Name of image in sprite to use for drawing an image background.static PropertyValue<String>backgroundPattern(String value) Name of image in sprite to use for drawing an image background.static PropertyValue<Expression>circleBlur(Expression expression) Amount to blur the circle.static PropertyValue<Float>circleBlur(Float value) Amount to blur the circle.static PropertyValue<String>circleColor(int value) The fill color of the circle.static PropertyValue<Expression>circleColor(Expression expression) The fill color of the circle.static PropertyValue<String>circleColor(String value) The fill color of the circle.static PropertyValue<Expression>circleOpacity(Expression expression) The opacity at which the circle will be drawn.static PropertyValue<Float>circleOpacity(Float value) The opacity at which the circle will be drawn.static PropertyValue<Expression>circlePitchAlignment(Expression expression) Orientation of circle when map is pitched.static PropertyValue<String>circlePitchAlignment(String value) Orientation of circle when map is pitched.static PropertyValue<Expression>circlePitchScale(Expression expression) Controls the scaling behavior of the circle when the map is pitched.static PropertyValue<String>circlePitchScale(String value) Controls the scaling behavior of the circle when the map is pitched.static PropertyValue<Expression>circleRadius(Expression expression) Circle radius.static PropertyValue<Float>circleRadius(Float value) Circle radius.static PropertyValue<Expression>circleSortKey(Expression value) Sorts features in ascending order based on this value.static PropertyValue<Float>circleSortKey(Float value) Sorts features in ascending order based on this value.static PropertyValue<String>circleStrokeColor(int value) The stroke color of the circle.static PropertyValue<Expression>circleStrokeColor(Expression expression) The stroke color of the circle.static PropertyValue<String>circleStrokeColor(String value) The stroke color of the circle.static PropertyValue<Expression>circleStrokeOpacity(Expression expression) The opacity of the circle's stroke.static PropertyValue<Float>circleStrokeOpacity(Float value) The opacity of the circle's stroke.static PropertyValue<Expression>circleStrokeWidth(Expression expression) The width of the circle's stroke.static PropertyValue<Float>circleStrokeWidth(Float value) The width of the circle's stroke.static PropertyValue<Expression>circleTranslate(Expression expression) The geometry's offset.static PropertyValue<Float[]>circleTranslate(Float[] value) The geometry's offset.static PropertyValue<Expression>circleTranslateAnchor(Expression expression) Controls the frame of reference forcircleTranslate(java.lang.Float[]).static PropertyValue<String>circleTranslateAnchor(String value) Controls the frame of reference forcircleTranslate(java.lang.Float[]).static PropertyValue<Expression>fillAntialias(Expression expression) Whether or not the fill should be antialiased.static PropertyValue<Boolean>fillAntialias(Boolean value) Whether or not the fill should be antialiased.static PropertyValue<String>fillColor(int value) The color of the filled part of this layer.static PropertyValue<Expression>fillColor(Expression expression) The color of the filled part of this layer.static PropertyValue<String>The color of the filled part of this layer.static PropertyValue<Expression>fillExtrusionBase(Expression expression) The height with which to extrude the base of this layer.static PropertyValue<Float>fillExtrusionBase(Float value) The height with which to extrude the base of this layer.static PropertyValue<String>fillExtrusionColor(int value) The base color of the extruded fill.static PropertyValue<Expression>fillExtrusionColor(Expression expression) The base color of the extruded fill.static PropertyValue<String>fillExtrusionColor(String value) The base color of the extruded fill.static PropertyValue<Expression>fillExtrusionHeight(Expression expression) The height with which to extrude this layer.static PropertyValue<Float>fillExtrusionHeight(Float value) The height with which to extrude this layer.static PropertyValue<Expression>fillExtrusionOpacity(Expression expression) The opacity of the entire fill extrusion layer.static PropertyValue<Float>fillExtrusionOpacity(Float value) The opacity of the entire fill extrusion layer.static PropertyValue<Expression>fillExtrusionPattern(Expression expression) Name of image in sprite to use for drawing images on extruded fills.static PropertyValue<String>fillExtrusionPattern(String value) Name of image in sprite to use for drawing images on extruded fills.static PropertyValue<Expression>fillExtrusionTranslate(Expression expression) The geometry's offset.static PropertyValue<Float[]>fillExtrusionTranslate(Float[] value) The geometry's offset.static PropertyValue<Expression>fillExtrusionTranslateAnchor(Expression expression) Controls the frame of reference forfillExtrusionTranslate(java.lang.Float[]).static PropertyValue<String>Controls the frame of reference forfillExtrusionTranslate(java.lang.Float[]).static PropertyValue<Expression>fillExtrusionVerticalGradient(Expression expression) Whether to apply a vertical gradient to the sides of a fill-extrusion layer.static PropertyValue<Boolean>Whether to apply a vertical gradient to the sides of a fill-extrusion layer.static PropertyValue<Expression>fillOpacity(Expression expression) The opacity of the entire fill layer.static PropertyValue<Float>fillOpacity(Float value) The opacity of the entire fill layer.static PropertyValue<String>fillOutlineColor(int value) The outline color of the fill.static PropertyValue<Expression>fillOutlineColor(Expression expression) The outline color of the fill.static PropertyValue<String>fillOutlineColor(String value) The outline color of the fill.static PropertyValue<Expression>fillPattern(Expression expression) Name of image in sprite to use for drawing image fills.static PropertyValue<String>fillPattern(String value) Name of image in sprite to use for drawing image fills.static PropertyValue<Expression>fillSortKey(Expression value) Sorts features in ascending order based on this value.static PropertyValue<Float>fillSortKey(Float value) Sorts features in ascending order based on this value.static PropertyValue<Expression>fillTranslate(Expression expression) The geometry's offset.static PropertyValue<Float[]>fillTranslate(Float[] value) The geometry's offset.static PropertyValue<Expression>fillTranslateAnchor(Expression expression) Controls the frame of reference forfillTranslate(java.lang.Float[]).static PropertyValue<String>fillTranslateAnchor(String value) Controls the frame of reference forfillTranslate(java.lang.Float[]).static PropertyValue<String>heatmapColor(int value) Defines the color of each pixel based on its density value in a heatmap.static PropertyValue<Expression>heatmapColor(Expression expression) Defines the color of each pixel based on its density value in a heatmap.static PropertyValue<String>heatmapColor(String value) Defines the color of each pixel based on its density value in a heatmap.static PropertyValue<Expression>heatmapIntensity(Expression expression) Similar toheatmapWeight(java.lang.Float)but controls the intensity of the heatmap globally.static PropertyValue<Float>heatmapIntensity(Float value) Similar toheatmapWeight(java.lang.Float)but controls the intensity of the heatmap globally.static PropertyValue<Expression>heatmapOpacity(Expression expression) The global opacity at which the heatmap layer will be drawn.static PropertyValue<Float>heatmapOpacity(Float value) The global opacity at which the heatmap layer will be drawn.static PropertyValue<Expression>heatmapRadius(Expression expression) Radius of influence of one heatmap point in density-independent pixels.static PropertyValue<Float>heatmapRadius(Float value) Radius of influence of one heatmap point in density-independent pixels.static PropertyValue<Expression>heatmapWeight(Expression expression) A measure of how much an individual point contributes to the heatmap.static PropertyValue<Float>heatmapWeight(Float value) A measure of how much an individual point contributes to the heatmap.static PropertyValue<String>hillshadeAccentColor(int value) The shading color used to accentuate rugged terrain like sharp cliffs and gorges.static PropertyValue<Expression>hillshadeAccentColor(Expression expression) The shading color used to accentuate rugged terrain like sharp cliffs and gorges.static PropertyValue<String>hillshadeAccentColor(String value) The shading color used to accentuate rugged terrain like sharp cliffs and gorges.static PropertyValue<Expression>hillshadeExaggeration(Expression expression) Intensity of the hillshadestatic PropertyValue<Float>hillshadeExaggeration(Float value) Intensity of the hillshadestatic PropertyValue<String>hillshadeHighlightColor(int value) The shading color of areas that faces towards the light source.static PropertyValue<Expression>hillshadeHighlightColor(Expression expression) The shading color of areas that faces towards the light source.static PropertyValue<String>hillshadeHighlightColor(String value) The shading color of areas that faces towards the light source.static PropertyValue<Expression>hillshadeIlluminationAnchor(Expression expression) Direction of light source when map is rotated.static PropertyValue<String>Direction of light source when map is rotated.static PropertyValue<Expression>hillshadeIlluminationDirection(Expression expression) The direction of the light source used to generate the hillshading with 0 as the top of the viewport ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `viewport` and due north ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `map`.static PropertyValue<Float>The direction of the light source used to generate the hillshading with 0 as the top of the viewport ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `viewport` and due north ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `map`.static PropertyValue<String>hillshadeShadowColor(int value) The shading color of areas that face away from the light source.static PropertyValue<Expression>hillshadeShadowColor(Expression expression) The shading color of areas that face away from the light source.static PropertyValue<String>hillshadeShadowColor(String value) The shading color of areas that face away from the light source.static PropertyValue<Expression>iconAllowOverlap(Expression value) If true, the icon will be visible even if it collides with other previously drawn symbols.static PropertyValue<Boolean>iconAllowOverlap(Boolean value) If true, the icon will be visible even if it collides with other previously drawn symbols.static PropertyValue<Expression>iconAnchor(Expression value) Part of the icon placed closest to the anchor.static PropertyValue<String>iconAnchor(String value) Part of the icon placed closest to the anchor.static PropertyValue<String>iconColor(int value) The color of the icon.static PropertyValue<Expression>iconColor(Expression expression) The color of the icon.static PropertyValue<String>The color of the icon.static PropertyValue<Expression>iconHaloBlur(Expression expression) Fade out the halo towards the outside.static PropertyValue<Float>iconHaloBlur(Float value) Fade out the halo towards the outside.static PropertyValue<String>iconHaloColor(int value) The color of the icon's halo.static PropertyValue<Expression>iconHaloColor(Expression expression) The color of the icon's halo.static PropertyValue<String>iconHaloColor(String value) The color of the icon's halo.static PropertyValue<Expression>iconHaloWidth(Expression expression) Distance of halo to the icon outline.static PropertyValue<Float>iconHaloWidth(Float value) Distance of halo to the icon outline.static PropertyValue<Expression>iconIgnorePlacement(Expression value) If true, other symbols can be visible even if they collide with the icon.static PropertyValue<Boolean>iconIgnorePlacement(Boolean value) If true, other symbols can be visible even if they collide with the icon.static PropertyValue<Expression>iconImage(Expression value) Name of image in sprite to use for drawing an image background.static PropertyValue<String>Name of image in sprite to use for drawing an image background.static PropertyValue<Expression>iconKeepUpright(Expression value) If true, the icon may be flipped to prevent it from being rendered upside-down.static PropertyValue<Boolean>iconKeepUpright(Boolean value) If true, the icon may be flipped to prevent it from being rendered upside-down.static PropertyValue<Expression>iconOffset(Expression value) Offset distance of icon from its anchor.static PropertyValue<Float[]>iconOffset(Float[] value) Offset distance of icon from its anchor.static PropertyValue<Expression>iconOpacity(Expression expression) The opacity at which the icon will be drawn.static PropertyValue<Float>iconOpacity(Float value) The opacity at which the icon will be drawn.static PropertyValue<Expression>iconOptional(Expression value) If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.static PropertyValue<Boolean>iconOptional(Boolean value) If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.static PropertyValue<Expression>iconPadding(Expression value) Size of the additional area around the icon bounding box used for detecting symbol collisions.static PropertyValue<Float>iconPadding(Float value) Size of the additional area around the icon bounding box used for detecting symbol collisions.static PropertyValue<Expression>iconPitchAlignment(Expression value) Orientation of icon when map is pitched.static PropertyValue<String>iconPitchAlignment(String value) Orientation of icon when map is pitched.static PropertyValue<Expression>iconRotate(Expression value) Rotates the icon clockwise.static PropertyValue<Float>iconRotate(Float value) Rotates the icon clockwise.static PropertyValue<Expression>iconRotationAlignment(Expression value) In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of icons.static PropertyValue<String>iconRotationAlignment(String value) In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of icons.static PropertyValue<Expression>iconSize(Expression value) Scales the original size of the icon by the provided factor.static PropertyValue<Float>Scales the original size of the icon by the provided factor.static PropertyValue<Expression>iconTextFit(Expression value) Scales the icon to fit around the associated text.static PropertyValue<String>iconTextFit(String value) Scales the icon to fit around the associated text.static PropertyValue<Expression>iconTextFitPadding(Expression value) Size of the additional area added to dimensions determined byProperty.ICON_TEXT_FIT, in clockwise order: top, right, bottom, left.static PropertyValue<Float[]>iconTextFitPadding(Float[] value) Size of the additional area added to dimensions determined byProperty.ICON_TEXT_FIT, in clockwise order: top, right, bottom, left.static PropertyValue<Expression>iconTranslate(Expression expression) Distance that the icon's anchor is moved from its original placement.static PropertyValue<Float[]>iconTranslate(Float[] value) Distance that the icon's anchor is moved from its original placement.static PropertyValue<Expression>iconTranslateAnchor(Expression expression) Controls the frame of reference foriconTranslate(java.lang.Float[]).static PropertyValue<String>iconTranslateAnchor(String value) Controls the frame of reference foriconTranslate(java.lang.Float[]).static PropertyValue<Expression>lineBlur(Expression expression) Blur applied to the line, in density-independent pixels.static PropertyValue<Float>Blur applied to the line, in density-independent pixels.static PropertyValue<Expression>lineCap(Expression value) The display of line endings.static PropertyValue<String>The display of line endings.static PropertyValue<String>lineColor(int value) The color with which the line will be drawn.static PropertyValue<Expression>lineColor(Expression expression) The color with which the line will be drawn.static PropertyValue<String>The color with which the line will be drawn.static PropertyValue<Expression>lineDasharray(Expression expression) Specifies the lengths of the alternating dashes and gaps that form the dash pattern.static PropertyValue<Float[]>lineDasharray(Float[] value) Specifies the lengths of the alternating dashes and gaps that form the dash pattern.static PropertyValue<Expression>lineGapWidth(Expression expression) Draws a line casing outside of a line's actual path.static PropertyValue<Float>lineGapWidth(Float value) Draws a line casing outside of a line's actual path.static PropertyValue<String>lineGradient(int value) Defines a gradient with which to color a line feature.static PropertyValue<Expression>lineGradient(Expression expression) Defines a gradient with which to color a line feature.static PropertyValue<String>lineGradient(String value) Defines a gradient with which to color a line feature.static PropertyValue<Expression>lineJoin(Expression value) The display of lines when joining.static PropertyValue<String>The display of lines when joining.static PropertyValue<Expression>lineMiterLimit(Expression value) Used to automatically convert miter joins to bevel joins for sharp angles.static PropertyValue<Float>lineMiterLimit(Float value) Used to automatically convert miter joins to bevel joins for sharp angles.static PropertyValue<Expression>lineOffset(Expression expression) The line's offset.static PropertyValue<Float>lineOffset(Float value) The line's offset.static PropertyValue<Expression>lineOpacity(Expression expression) The opacity at which the line will be drawn.static PropertyValue<Float>lineOpacity(Float value) The opacity at which the line will be drawn.static PropertyValue<Expression>linePattern(Expression expression) Name of image in sprite to use for drawing image lines.static PropertyValue<String>linePattern(String value) Name of image in sprite to use for drawing image lines.static PropertyValue<Expression>lineRoundLimit(Expression value) Used to automatically convert round joins to miter joins for shallow angles.static PropertyValue<Float>lineRoundLimit(Float value) Used to automatically convert round joins to miter joins for shallow angles.static PropertyValue<Expression>lineSortKey(Expression value) Sorts features in ascending order based on this value.static PropertyValue<Float>lineSortKey(Float value) Sorts features in ascending order based on this value.static PropertyValue<Expression>lineTranslate(Expression expression) The geometry's offset.static PropertyValue<Float[]>lineTranslate(Float[] value) The geometry's offset.static PropertyValue<Expression>lineTranslateAnchor(Expression expression) Controls the frame of reference forlineTranslate(java.lang.Float[]).static PropertyValue<String>lineTranslateAnchor(String value) Controls the frame of reference forlineTranslate(java.lang.Float[]).static PropertyValue<Expression>lineWidth(Expression expression) Stroke thickness.static PropertyValue<Float>Stroke thickness.static PropertyValue<Expression>rasterBrightnessMax(Expression expression) Increase or reduce the brightness of the image.static PropertyValue<Float>rasterBrightnessMax(Float value) Increase or reduce the brightness of the image.static PropertyValue<Expression>rasterBrightnessMin(Expression expression) Increase or reduce the brightness of the image.static PropertyValue<Float>rasterBrightnessMin(Float value) Increase or reduce the brightness of the image.static PropertyValue<Expression>rasterContrast(Expression expression) Increase or reduce the contrast of the image.static PropertyValue<Float>rasterContrast(Float value) Increase or reduce the contrast of the image.static PropertyValue<Expression>rasterFadeDuration(Expression expression) Fade duration when a new tile is added.static PropertyValue<Float>rasterFadeDuration(Float value) Fade duration when a new tile is added.static PropertyValue<Expression>rasterHueRotate(Expression expression) Rotates hues around the color wheel.static PropertyValue<Float>rasterHueRotate(Float value) Rotates hues around the color wheel.static PropertyValue<Expression>rasterOpacity(Expression expression) The opacity at which the image will be drawn.static PropertyValue<Float>rasterOpacity(Float value) The opacity at which the image will be drawn.static PropertyValue<Expression>rasterResampling(Expression expression) The resampling/interpolation method to use for overscaling, also known as texture magnification filterstatic PropertyValue<String>rasterResampling(String value) The resampling/interpolation method to use for overscaling, also known as texture magnification filterstatic PropertyValue<Expression>rasterSaturation(Expression expression) Increase or reduce the saturation of the image.static PropertyValue<Float>rasterSaturation(Float value) Increase or reduce the saturation of the image.static PropertyValue<Expression>symbolAvoidEdges(Expression value) If true, the symbols will not cross tile edges to avoid mutual collisions.static PropertyValue<Boolean>symbolAvoidEdges(Boolean value) If true, the symbols will not cross tile edges to avoid mutual collisions.static PropertyValue<Expression>symbolPlacement(Expression value) Label placement relative to its geometry.static PropertyValue<String>symbolPlacement(String value) Label placement relative to its geometry.static PropertyValue<Expression>symbolSortKey(Expression value) Sorts features in ascending order based on this value.static PropertyValue<Float>symbolSortKey(Float value) Sorts features in ascending order based on this value.static PropertyValue<Expression>symbolSpacing(Expression value) Distance between two symbol anchors.static PropertyValue<Float>symbolSpacing(Float value) Distance between two symbol anchors.static PropertyValue<Expression>symbolZOrder(Expression value) Controls the order in which overlapping symbols in the same layer are renderedstatic PropertyValue<String>symbolZOrder(String value) Controls the order in which overlapping symbols in the same layer are renderedstatic PropertyValue<Expression>textAllowOverlap(Expression value) If true, the text will be visible even if it collides with other previously drawn symbols.static PropertyValue<Boolean>textAllowOverlap(Boolean value) If true, the text will be visible even if it collides with other previously drawn symbols.static PropertyValue<Expression>textAnchor(Expression value) Part of the text placed closest to the anchor.static PropertyValue<String>textAnchor(String value) Part of the text placed closest to the anchor.static PropertyValue<String>textColor(int value) The color with which the text will be drawn.static PropertyValue<Expression>textColor(Expression expression) The color with which the text will be drawn.static PropertyValue<String>The color with which the text will be drawn.static PropertyValue<Expression>textField(Expression value) Value to use for a text label.static PropertyValue<com.trimblemaps.mapsdk.style.types.Formatted>textField(com.trimblemaps.mapsdk.style.types.Formatted value) Value to use for a text label.static PropertyValue<String>Value to use for a text label.static PropertyValue<Expression>textFont(Expression value) Font stack to use for displaying text.static PropertyValue<String[]>Font stack to use for displaying text.static PropertyValue<Expression>textHaloBlur(Expression expression) The halo's fadeout distance towards the outside.static PropertyValue<Float>textHaloBlur(Float value) The halo's fadeout distance towards the outside.static PropertyValue<String>textHaloColor(int value) The color of the text's halo, which helps it stand out from backgrounds.static PropertyValue<Expression>textHaloColor(Expression expression) The color of the text's halo, which helps it stand out from backgrounds.static PropertyValue<String>textHaloColor(String value) The color of the text's halo, which helps it stand out from backgrounds.static PropertyValue<Expression>textHaloWidth(Expression expression) Distance of halo to the font outline.static PropertyValue<Float>textHaloWidth(Float value) Distance of halo to the font outline.static PropertyValue<Expression>textIgnorePlacement(Expression value) If true, other symbols can be visible even if they collide with the text.static PropertyValue<Boolean>textIgnorePlacement(Boolean value) If true, other symbols can be visible even if they collide with the text.static PropertyValue<Expression>textJustify(Expression value) Text justification options.static PropertyValue<String>textJustify(String value) Text justification options.static PropertyValue<Expression>textKeepUpright(Expression value) If true, the text may be flipped vertically to prevent it from being rendered upside-down.static PropertyValue<Boolean>textKeepUpright(Boolean value) If true, the text may be flipped vertically to prevent it from being rendered upside-down.static PropertyValue<Expression>textLetterSpacing(Expression value) Text tracking amount.static PropertyValue<Float>textLetterSpacing(Float value) Text tracking amount.static PropertyValue<Expression>textLineHeight(Expression value) Text leading value for multi-line text.static PropertyValue<Float>textLineHeight(Float value) Text leading value for multi-line text.static PropertyValue<Expression>textMaxAngle(Expression value) Maximum angle change between adjacent characters.static PropertyValue<Float>textMaxAngle(Float value) Maximum angle change between adjacent characters.static PropertyValue<Expression>textMaxWidth(Expression value) The maximum line width for text wrapping.static PropertyValue<Float>textMaxWidth(Float value) The maximum line width for text wrapping.static PropertyValue<Expression>textOffset(Expression value) Offset distance of text from its anchor.static PropertyValue<Float[]>textOffset(Float[] value) Offset distance of text from its anchor.static PropertyValue<Expression>textOpacity(Expression expression) The opacity at which the text will be drawn.static PropertyValue<Float>textOpacity(Float value) The opacity at which the text will be drawn.static PropertyValue<Expression>textOptional(Expression value) If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.static PropertyValue<Boolean>textOptional(Boolean value) If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.static PropertyValue<Expression>textPadding(Expression value) Size of the additional area around the text bounding box used for detecting symbol collisions.static PropertyValue<Float>textPadding(Float value) Size of the additional area around the text bounding box used for detecting symbol collisions.static PropertyValue<Expression>textPitchAlignment(Expression value) Orientation of text when map is pitched.static PropertyValue<String>textPitchAlignment(String value) Orientation of text when map is pitched.static PropertyValue<Expression>textRadialOffset(Expression value) Radial offset of text, in the direction of the symbol's anchor.static PropertyValue<Float>textRadialOffset(Float value) Radial offset of text, in the direction of the symbol's anchor.static PropertyValue<Expression>textRotate(Expression value) Rotates the text clockwise.static PropertyValue<Float>textRotate(Float value) Rotates the text clockwise.static PropertyValue<Expression>textRotationAlignment(Expression value) In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of the individual glyphs forming the text.static PropertyValue<String>textRotationAlignment(String value) In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of the individual glyphs forming the text.static PropertyValue<Expression>textSize(Expression value) Font size.static PropertyValue<Float>Font size.static PropertyValue<Expression>textTransform(Expression value) Specifies how to capitalize text, similar to the CSStextTransform(java.lang.String)property.static PropertyValue<String>textTransform(String value) Specifies how to capitalize text, similar to the CSStextTransform(java.lang.String)property.static PropertyValue<Expression>textTranslate(Expression expression) Distance that the text's anchor is moved from its original placement.static PropertyValue<Float[]>textTranslate(Float[] value) Distance that the text's anchor is moved from its original placement.static PropertyValue<Expression>textTranslateAnchor(Expression expression) Controls the frame of reference fortextTranslate(java.lang.Float[]).static PropertyValue<String>textTranslateAnchor(String value) Controls the frame of reference fortextTranslate(java.lang.Float[]).static PropertyValue<Expression>textVariableAnchor(Expression value) To increase the chance of placing high-priority labels on the map, you can provide an array ofProperty.TEXT_ANCHORlocations: the renderer will attempt to place the label at each location, in order, before moving onto the next label.static PropertyValue<String[]>textVariableAnchor(String[] value) To increase the chance of placing high-priority labels on the map, you can provide an array ofProperty.TEXT_ANCHORlocations: the renderer will attempt to place the label at each location, in order, before moving onto the next label.static PropertyValue<Expression>textWritingMode(Expression value) The property allows control over a symbol's orientation.static PropertyValue<String[]>textWritingMode(String[] value) The property allows control over a symbol's orientation.static PropertyValue<String>visibility(String value) Set the property visibility.
-
Constructor Details
-
PropertyFactory
public PropertyFactory()
-
-
Method Details
-
visibility
Set the property visibility.- Parameters:
value- the visibility value- Returns:
- property wrapper around visibility
-
fillAntialias
Whether or not the fill should be antialiased.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
fillAntialias
Whether or not the fill should be antialiased.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillOpacity
The opacity of the entire fill layer. In contrast to thefillColor(int), this value will also affect the 1px stroke around the fill, if the stroke is used.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
fillOpacity
The opacity of the entire fill layer. In contrast to thefillColor(int), this value will also affect the 1px stroke around the fill, if the stroke is used.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillColor
The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
fillColor
The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillColor
The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillOutlineColor
The outline color of the fill. Matches the value offillColor(int)if unspecified.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
fillOutlineColor
The outline color of the fill. Matches the value offillColor(int)if unspecified.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillOutlineColor
The outline color of the fill. Matches the value offillColor(int)if unspecified.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
fillTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillTranslateAnchor
Controls the frame of reference forfillTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillTranslateAnchor
Controls the frame of reference forfillTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillPattern
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillPattern
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineOpacity
The opacity at which the line will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineOpacity
The opacity at which the line will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineColor
The color with which the line will be drawn.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
lineColor
The color with which the line will be drawn.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineColor
The color with which the line will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
lineTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineTranslateAnchor
Controls the frame of reference forlineTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineTranslateAnchor
Controls the frame of reference forlineTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineWidth
Stroke thickness.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineWidth
Stroke thickness.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineGapWidth
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineGapWidth
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineOffset
The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineOffset
The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineBlur
Blur applied to the line, in density-independent pixels.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineBlur
Blur applied to the line, in density-independent pixels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineDasharray
Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to density-independent pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
lineDasharray
Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to density-independent pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
linePattern
Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
linePattern
Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
lineGradient
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
lineGradient
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineGradient
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconOpacity
The opacity at which the icon will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconOpacity
The opacity at which the icon will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconColor
The color of the icon. This can only be used with sdf icons.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
iconColor
The color of the icon. This can only be used with sdf icons.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconColor
The color of the icon. This can only be used with sdf icons.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconHaloColor
The color of the icon's halo. Icon halos can only be used with SDF icons.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
iconHaloColor
The color of the icon's halo. Icon halos can only be used with SDF icons.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconHaloColor
The color of the icon's halo. Icon halos can only be used with SDF icons.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconHaloWidth
Distance of halo to the icon outline.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconHaloWidth
Distance of halo to the icon outline.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconHaloBlur
Fade out the halo towards the outside.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconHaloBlur
Fade out the halo towards the outside.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconTranslate
Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
iconTranslate
Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
iconTranslateAnchor
Controls the frame of reference foriconTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconTranslateAnchor
Controls the frame of reference foriconTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textOpacity
The opacity at which the text will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textOpacity
The opacity at which the text will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textColor
The color with which the text will be drawn.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
textColor
The color with which the text will be drawn.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textColor
The color with which the text will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textHaloColor
The color of the text's halo, which helps it stand out from backgrounds.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
textHaloColor
The color of the text's halo, which helps it stand out from backgrounds.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textHaloColor
The color of the text's halo, which helps it stand out from backgrounds.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textHaloWidth
Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textHaloWidth
Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textHaloBlur
The halo's fadeout distance towards the outside.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textHaloBlur
The halo's fadeout distance towards the outside.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textTranslate
Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
textTranslate
Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
textTranslateAnchor
Controls the frame of reference fortextTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textTranslateAnchor
Controls the frame of reference fortextTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleRadius
Circle radius.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleRadius
Circle radius.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleColor
The fill color of the circle.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
circleColor
The fill color of the circle.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
circleColor
The fill color of the circle.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleBlur
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleBlur
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleOpacity
The opacity at which the circle will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleOpacity
The opacity at which the circle will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
circleTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleTranslateAnchor
Controls the frame of reference forcircleTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
circleTranslateAnchor
Controls the frame of reference forcircleTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circlePitchScale
Controls the scaling behavior of the circle when the map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
circlePitchScale
Controls the scaling behavior of the circle when the map is pitched.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circlePitchAlignment
Orientation of circle when map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
circlePitchAlignment
Orientation of circle when map is pitched.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleStrokeWidth
The width of the circle's stroke. Strokes are placed outside of thecircleRadius(java.lang.Float).- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleStrokeWidth
The width of the circle's stroke. Strokes are placed outside of thecircleRadius(java.lang.Float).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleStrokeColor
The stroke color of the circle.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
circleStrokeColor
The stroke color of the circle.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
circleStrokeColor
The stroke color of the circle.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
circleStrokeOpacity
The opacity of the circle's stroke.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleStrokeOpacity
The opacity of the circle's stroke.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
heatmapRadius
Radius of influence of one heatmap point in density-independent pixels. Increasing the value makes the heatmap smoother, but less detailed.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
heatmapRadius
Radius of influence of one heatmap point in density-independent pixels. Increasing the value makes the heatmap smoother, but less detailed.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
heatmapWeight
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
heatmapWeight
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
heatmapIntensity
Similar toheatmapWeight(java.lang.Float)but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
heatmapIntensity
Similar toheatmapWeight(java.lang.Float)but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
heatmapColor
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
heatmapColor
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
heatmapColor
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmap-density"]` as input.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
heatmapOpacity
The global opacity at which the heatmap layer will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
heatmapOpacity
The global opacity at which the heatmap layer will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionOpacity
The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
fillExtrusionOpacity
The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionColor
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; usefillExtrusionOpacity(java.lang.Float)to set layer opacity.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
fillExtrusionColor
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; usefillExtrusionOpacity(java.lang.Float)to set layer opacity.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillExtrusionColor
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; usefillExtrusionOpacity(java.lang.Float)to set layer opacity.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
fillExtrusionTranslate
The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionTranslateAnchor
Controls the frame of reference forfillExtrusionTranslate(java.lang.Float[]).- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillExtrusionTranslateAnchor
Controls the frame of reference forfillExtrusionTranslate(java.lang.Float[]).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionPattern
Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
fillExtrusionPattern
Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionHeight
The height with which to extrude this layer.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
fillExtrusionHeight
The height with which to extrude this layer.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionBase
The height with which to extrude the base of this layer. Must be less than or equal tofillExtrusionHeight(java.lang.Float).- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
fillExtrusionBase
The height with which to extrude the base of this layer. Must be less than or equal tofillExtrusionHeight(java.lang.Float).- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillExtrusionVerticalGradient
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
fillExtrusionVerticalGradient
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterOpacity
The opacity at which the image will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterOpacity
The opacity at which the image will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterHueRotate
Rotates hues around the color wheel.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterHueRotate
Rotates hues around the color wheel.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterBrightnessMin
Increase or reduce the brightness of the image. The value is the minimum brightness.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterBrightnessMin
Increase or reduce the brightness of the image. The value is the minimum brightness.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterBrightnessMax
Increase or reduce the brightness of the image. The value is the maximum brightness.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterBrightnessMax
Increase or reduce the brightness of the image. The value is the maximum brightness.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterSaturation
Increase or reduce the saturation of the image.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterSaturation
Increase or reduce the saturation of the image.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterContrast
Increase or reduce the contrast of the image.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterContrast
Increase or reduce the contrast of the image.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterResampling
The resampling/interpolation method to use for overscaling, also known as texture magnification filter- Parameters:
value- a String value- Returns:
- property wrapper around String
-
rasterResampling
The resampling/interpolation method to use for overscaling, also known as texture magnification filter- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
rasterFadeDuration
Fade duration when a new tile is added.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
rasterFadeDuration
Fade duration when a new tile is added.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeIlluminationDirection
The direction of the light source used to generate the hillshading with 0 as the top of the viewport ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `viewport` and due north ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `map`.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
hillshadeIlluminationDirection
The direction of the light source used to generate the hillshading with 0 as the top of the viewport ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `viewport` and due north ifProperty.HILLSHADE_ILLUMINATION_ANCHORis set to `map`.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeIlluminationAnchor
Direction of light source when map is rotated.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
hillshadeIlluminationAnchor
Direction of light source when map is rotated.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeExaggeration
Intensity of the hillshade- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
hillshadeExaggeration
Intensity of the hillshade- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeShadowColor
The shading color of areas that face away from the light source.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
hillshadeShadowColor
The shading color of areas that face away from the light source.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
hillshadeShadowColor
The shading color of areas that face away from the light source.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeHighlightColor
The shading color of areas that faces towards the light source.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
hillshadeHighlightColor
The shading color of areas that faces towards the light source.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
hillshadeHighlightColor
The shading color of areas that faces towards the light source.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
hillshadeAccentColor
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
hillshadeAccentColor
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
hillshadeAccentColor
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
backgroundColor
The color with which the background will be drawn.- Parameters:
value- a int color value- Returns:
- property wrapper around String color
-
backgroundColor
The color with which the background will be drawn.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
backgroundColor
The color with which the background will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
backgroundPattern
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
backgroundPattern
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
backgroundOpacity
The opacity at which the background will be drawn.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
backgroundOpacity
The opacity at which the background will be drawn.- Parameters:
expression- an expression statement- Returns:
- property wrapper around an expression statement
-
fillSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
fillSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineCap
The display of line endings.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineCap
The display of line endings.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineJoin
The display of lines when joining.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineJoin
The display of lines when joining.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
lineMiterLimit
Used to automatically convert miter joins to bevel joins for sharp angles.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineMiterLimit
Used to automatically convert miter joins to bevel joins for sharp angles.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineRoundLimit
Used to automatically convert round joins to miter joins for shallow angles.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineRoundLimit
Used to automatically convert round joins to miter joins for shallow angles.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
lineSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
symbolPlacement
Label placement relative to its geometry.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
symbolPlacement
Label placement relative to its geometry.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
symbolSpacing
Distance between two symbol anchors.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
symbolSpacing
Distance between two symbol anchors.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
symbolAvoidEdges
If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
symbolAvoidEdges
If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
symbolSortKey
Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. WheniconAllowOverlap(java.lang.Boolean)ortextAllowOverlap(java.lang.Boolean)is `false`, features with a lower sort key will have priority during placement. WheniconAllowOverlap(java.lang.Boolean)ortextAllowOverlap(java.lang.Boolean)is set to `true`, features with a higher sort key will overlap over features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
symbolSortKey
Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. WheniconAllowOverlap(java.lang.Boolean)ortextAllowOverlap(java.lang.Boolean)is `false`, features with a lower sort key will have priority during placement. WheniconAllowOverlap(java.lang.Boolean)ortextAllowOverlap(java.lang.Boolean)is set to `true`, features with a higher sort key will overlap over features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
symbolZOrder
Controls the order in which overlapping symbols in the same layer are rendered- Parameters:
value- a String value- Returns:
- property wrapper around String
-
symbolZOrder
Controls the order in which overlapping symbols in the same layer are rendered- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconAllowOverlap
If true, the icon will be visible even if it collides with other previously drawn symbols.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconAllowOverlap
If true, the icon will be visible even if it collides with other previously drawn symbols.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconIgnorePlacement
If true, other symbols can be visible even if they collide with the icon.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconIgnorePlacement
If true, other symbols can be visible even if they collide with the icon.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconOptional
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconOptional
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconRotationAlignment
In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of icons.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconRotationAlignment
In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of icons.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconSize
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 byiconSize(java.lang.Float). 1 is the original size; 3 triples the size of the image.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconSize
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 byiconSize(java.lang.Float). 1 is the original size; 3 triples the size of the image.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconTextFit
Scales the icon to fit around the associated text.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconTextFit
Scales the icon to fit around the associated text.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconTextFitPadding
Size of the additional area added to dimensions determined byProperty.ICON_TEXT_FIT, in clockwise order: top, right, bottom, left.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
iconTextFitPadding
Size of the additional area added to dimensions determined byProperty.ICON_TEXT_FIT, in clockwise order: top, right, bottom, left.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
iconImage
Name of image in sprite to use for drawing an image background.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconImage
Name of image in sprite to use for drawing an image background.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconRotate
Rotates the icon clockwise.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconRotate
Rotates the icon clockwise.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconPadding
Size of the additional area around the icon bounding box used for detecting symbol collisions.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconPadding
Size of the additional area around the icon bounding box used for detecting symbol collisions.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
iconKeepUpright
If true, the icon may be flipped to prevent it from being rendered upside-down.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconKeepUpright
If true, the icon may be flipped to prevent it from being rendered upside-down.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
iconOffset
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 oficonSize(java.lang.Float)to obtain the final offset in density-independent pixels. When combined withiconRotate(java.lang.Float)the offset will be as if the rotated direction was up.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
iconOffset
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 oficonSize(java.lang.Float)to obtain the final offset in density-independent pixels. When combined withiconRotate(java.lang.Float)the offset will be as if the rotated direction was up.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
iconAnchor
Part of the icon placed closest to the anchor.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconAnchor
Part of the icon placed closest to the anchor.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconPitchAlignment
Orientation of icon when map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
iconPitchAlignment
Orientation of icon when map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textPitchAlignment
Orientation of text when map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textPitchAlignment
Orientation of text when map is pitched.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textRotationAlignment
In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of the individual glyphs forming the text.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textRotationAlignment
In combination withProperty.SYMBOL_PLACEMENT, determines the rotation behavior of the individual glyphs forming the text.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textField
Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textField
public static PropertyValue<com.trimblemaps.mapsdk.style.types.Formatted> textField(com.trimblemaps.mapsdk.style.types.Formatted value) Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.- Parameters:
value- a Formatted value- Returns:
- property wrapper around Formatted
-
textField
Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.- Parameters:
value- a Formatted value- Returns:
- property wrapper around Formatted
-
textFont
Font stack to use for displaying text.- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textFont
Font stack to use for displaying text.- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textSize
Font size.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textSize
Font size.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textMaxWidth
The maximum line width for text wrapping.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textMaxWidth
The maximum line width for text wrapping.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textLineHeight
Text leading value for multi-line text.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textLineHeight
Text leading value for multi-line text.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textLetterSpacing
Text tracking amount.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textLetterSpacing
Text tracking amount.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textJustify
Text justification options.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textJustify
Text justification options.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textRadialOffset
Radial offset of text, in the direction of the symbol's anchor. Useful in combination withtextVariableAnchor(java.lang.String[]), which defaults to using the two-dimensionaltextOffset(java.lang.Float[])if present.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textRadialOffset
Radial offset of text, in the direction of the symbol's anchor. Useful in combination withtextVariableAnchor(java.lang.String[]), which defaults to using the two-dimensionaltextOffset(java.lang.Float[])if present.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textVariableAnchor
To increase the chance of placing high-priority labels on the map, you can provide an array ofProperty.TEXT_ANCHORlocations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use thetextRadialOffset(java.lang.Float)or the two-dimensionaltextOffset(java.lang.Float[]).- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textVariableAnchor
To increase the chance of placing high-priority labels on the map, you can provide an array ofProperty.TEXT_ANCHORlocations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use thetextRadialOffset(java.lang.Float)or the two-dimensionaltextOffset(java.lang.Float[]).- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textAnchor
Part of the text placed closest to the anchor.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textAnchor
Part of the text placed closest to the anchor.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textMaxAngle
Maximum angle change between adjacent characters.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textMaxAngle
Maximum angle change between adjacent characters.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textWritingMode
The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textWritingMode
The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.- Parameters:
value- a String[] value- Returns:
- property wrapper around String[]
-
textRotate
Rotates the text clockwise.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textRotate
Rotates the text clockwise.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textPadding
Size of the additional area around the text bounding box used for detecting symbol collisions.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textPadding
Size of the additional area around the text bounding box used for detecting symbol collisions.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
textKeepUpright
If true, the text may be flipped vertically to prevent it from being rendered upside-down.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textKeepUpright
If true, the text may be flipped vertically to prevent it from being rendered upside-down.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textTransform
Specifies how to capitalize text, similar to the CSStextTransform(java.lang.String)property.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textTransform
Specifies how to capitalize text, similar to the CSStextTransform(java.lang.String)property.- Parameters:
value- a String value- Returns:
- property wrapper around String
-
textOffset
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.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
textOffset
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.- Parameters:
value- a Float[] value- Returns:
- property wrapper around Float[]
-
textAllowOverlap
If true, the text will be visible even if it collides with other previously drawn symbols.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textAllowOverlap
If true, the text will be visible even if it collides with other previously drawn symbols.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textIgnorePlacement
If true, other symbols can be visible even if they collide with the text.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textIgnorePlacement
If true, other symbols can be visible even if they collide with the text.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textOptional
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
textOptional
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.- Parameters:
value- a Boolean value- Returns:
- property wrapper around Boolean
-
circleSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-
circleSortKey
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.- Parameters:
value- a Float value- Returns:
- property wrapper around Float
-