public class PropertyFactory extends Object
Constructor and Description |
---|
PropertyFactory() |
Modifier and Type | Method and Description |
---|---|
static <Z extends Number> |
backgroundColor(CameraFunction<Z,String> function)
The color with which the background will be drawn.
|
static PropertyValue<String> |
backgroundColor(int value)
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 <Z extends Number> |
backgroundOpacity(CameraFunction<Z,Float> function)
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 <Z extends Number> |
backgroundPattern(CameraFunction<Z,String> function)
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<Float> |
circleBlur(Float value)
Amount to blur the circle.
|
static <T> PropertyValue<Function<T,Float>> |
circleBlur(Function<T,Float> function)
Amount to blur the circle.
|
static <T> PropertyValue<Function<T,String>> |
circleColor(Function<T,String> function)
The fill color of the circle.
|
static PropertyValue<String> |
circleColor(int value)
The fill color of the circle.
|
static PropertyValue<String> |
circleColor(String value)
The fill color of the circle.
|
static PropertyValue<Float> |
circleOpacity(Float value)
The opacity at which the circle will be drawn.
|
static <T> PropertyValue<Function<T,Float>> |
circleOpacity(Function<T,Float> function)
The opacity at which the circle will be drawn.
|
static <Z extends Number> |
circlePitchScale(CameraFunction<Z,String> function)
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<Float> |
circleRadius(Float value)
Circle radius.
|
static <T> PropertyValue<Function<T,Float>> |
circleRadius(Function<T,Float> function)
Circle radius.
|
static <T> PropertyValue<Function<T,String>> |
circleStrokeColor(Function<T,String> function)
The stroke color of the circle.
|
static PropertyValue<String> |
circleStrokeColor(int value)
The stroke color of the circle.
|
static PropertyValue<String> |
circleStrokeColor(String value)
The stroke color of the circle.
|
static PropertyValue<Float> |
circleStrokeOpacity(Float value)
The opacity of the circle's stroke.
|
static <T> PropertyValue<Function<T,Float>> |
circleStrokeOpacity(Function<T,Float> function)
The opacity of the circle's stroke.
|
static PropertyValue<Float> |
circleStrokeWidth(Float value)
The width of the circle's stroke.
|
static <T> PropertyValue<Function<T,Float>> |
circleStrokeWidth(Function<T,Float> function)
The width of the circle's stroke.
|
static <Z extends Number> |
circleTranslate(CameraFunction<Z,Float[]> function)
The geometry's offset.
|
static PropertyValue<Float[]> |
circleTranslate(Float[] value)
The geometry's offset.
|
static <Z extends Number> |
circleTranslateAnchor(CameraFunction<Z,String> function)
Controls the translation reference point.
|
static PropertyValue<String> |
circleTranslateAnchor(String value)
Controls the translation reference point.
|
static String |
colorToRgbaString(int value) |
static PropertyValue<Boolean> |
fillAntialias(Boolean value)
Whether or not the fill should be antialiased.
|
static <Z extends Number> |
fillAntialias(CameraFunction<Z,Boolean> function)
Whether or not the fill should be antialiased.
|
static <T> PropertyValue<Function<T,String>> |
fillColor(Function<T,String> function)
The color of the filled part of this layer.
|
static PropertyValue<String> |
fillColor(int value)
The color of the filled part of this layer.
|
static PropertyValue<String> |
fillColor(String value)
The color of the filled part of this layer.
|
static PropertyValue<Float> |
fillOpacity(Float value)
The opacity of the entire fill layer.
|
static <T> PropertyValue<Function<T,Float>> |
fillOpacity(Function<T,Float> function)
The opacity of the entire fill layer.
|
static <T> PropertyValue<Function<T,String>> |
fillOutlineColor(Function<T,String> function)
The outline color of the fill.
|
static PropertyValue<String> |
fillOutlineColor(int value)
The outline color of the fill.
|
static PropertyValue<String> |
fillOutlineColor(String value)
The outline color of the fill.
|
static <Z extends Number> |
fillPattern(CameraFunction<Z,String> function)
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 <Z extends Number> |
fillTranslate(CameraFunction<Z,Float[]> function)
The geometry's offset.
|
static PropertyValue<Float[]> |
fillTranslate(Float[] value)
The geometry's offset.
|
static <Z extends Number> |
fillTranslateAnchor(CameraFunction<Z,String> function)
Controls the translation reference point.
|
static PropertyValue<String> |
fillTranslateAnchor(String value)
Controls the translation reference point.
|
static PropertyValue<Boolean> |
iconAllowOverlap(Boolean value)
If true, the icon will be visible even if it collides with other previously drawn symbols.
|
static <Z extends Number> |
iconAllowOverlap(CameraFunction<Z,Boolean> function)
If true, the icon will be visible even if it collides with other previously drawn symbols.
|
static <T> PropertyValue<Function<T,String>> |
iconColor(Function<T,String> function)
The color of the icon.
|
static PropertyValue<String> |
iconColor(int value)
The color of the icon.
|
static PropertyValue<String> |
iconColor(String value)
The color of the icon.
|
static PropertyValue<Float> |
iconHaloBlur(Float value)
Fade out the halo towards the outside.
|
static <T> PropertyValue<Function<T,Float>> |
iconHaloBlur(Function<T,Float> function)
Fade out the halo towards the outside.
|
static <T> PropertyValue<Function<T,String>> |
iconHaloColor(Function<T,String> function)
The color of the icon's halo.
|
static PropertyValue<String> |
iconHaloColor(int value)
The color of the icon's halo.
|
static PropertyValue<String> |
iconHaloColor(String value)
The color of the icon's halo.
|
static PropertyValue<Float> |
iconHaloWidth(Float value)
Distance of halo to the icon outline.
|
static <T> PropertyValue<Function<T,Float>> |
iconHaloWidth(Function<T,Float> function)
Distance of halo to the icon outline.
|
static PropertyValue<Boolean> |
iconIgnorePlacement(Boolean value)
If true, other symbols can be visible even if they collide with the icon.
|
static <Z extends Number> |
iconIgnorePlacement(CameraFunction<Z,Boolean> function)
If true, other symbols can be visible even if they collide with the icon.
|
static <Z extends Number> |
iconImage(CameraFunction<Z,String> function)
A string with {tokens} replaced, referencing the data property to pull from.
|
static PropertyValue<String> |
iconImage(String value)
A string with {tokens} replaced, referencing the data property to pull from.
|
static PropertyValue<Boolean> |
iconKeepUpright(Boolean value)
If true, the icon may be flipped to prevent it from being rendered upside-down.
|
static <Z extends Number> |
iconKeepUpright(CameraFunction<Z,Boolean> function)
If true, the icon may be flipped to prevent it from being rendered upside-down.
|
static PropertyValue<Float[]> |
iconOffset(Float[] value)
Offset distance of icon from its anchor.
|
static <T> PropertyValue<Function<T,Float[]>> |
iconOffset(Function<T,Float[]> function)
Offset distance of icon from its anchor.
|
static PropertyValue<Float> |
iconOpacity(Float value)
The opacity at which the icon will be drawn.
|
static <T> PropertyValue<Function<T,Float>> |
iconOpacity(Function<T,Float> function)
The opacity at which the icon will be drawn.
|
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 <Z extends Number> |
iconOptional(CameraFunction<Z,Boolean> function)
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
|
static <Z extends Number> |
iconPadding(CameraFunction<Z,Float> function)
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<Float> |
iconRotate(Float value)
Rotates the icon clockwise.
|
static <T> PropertyValue<Function<T,Float>> |
iconRotate(Function<T,Float> function)
Rotates the icon clockwise.
|
static <Z extends Number> |
iconRotationAlignment(CameraFunction<Z,String> function)
In combination with
Property.SYMBOL_PLACEMENT , determines the rotation behavior of icons. |
static PropertyValue<String> |
iconRotationAlignment(String value)
In combination with
Property.SYMBOL_PLACEMENT , determines the rotation behavior of icons. |
static <Z extends Number> |
iconSize(CameraFunction<Z,Float> function)
Scale factor for icon.
|
static PropertyValue<Float> |
iconSize(Float value)
Scale factor for icon.
|
static <Z extends Number> |
iconTextFit(CameraFunction<Z,String> function)
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 <Z extends Number> |
iconTextFitPadding(CameraFunction<Z,Float[]> function)
Size of the additional area added to dimensions determined by
Property.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 by
Property.ICON_TEXT_FIT , in clockwise order: top, right, bottom, left. |
static <Z extends Number> |
iconTranslate(CameraFunction<Z,Float[]> function)
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 <Z extends Number> |
iconTranslateAnchor(CameraFunction<Z,String> function)
Controls the translation reference point.
|
static PropertyValue<String> |
iconTranslateAnchor(String value)
Controls the translation reference point.
|
static PropertyValue<Float> |
lineBlur(Float value)
Blur applied to the line, in density-independent pixels.
|
static <T> PropertyValue<Function<T,Float>> |
lineBlur(Function<T,Float> function)
Blur applied to the line, in density-independent pixels.
|
static <Z extends Number> |
lineCap(CameraFunction<Z,String> function)
The display of line endings.
|
static PropertyValue<String> |
lineCap(String value)
The display of line endings.
|
static <T> PropertyValue<Function<T,String>> |
lineColor(Function<T,String> function)
The color with which the line will be drawn.
|
static PropertyValue<String> |
lineColor(int value)
The color with which the line will be drawn.
|
static PropertyValue<String> |
lineColor(String value)
The color with which the line will be drawn.
|
static <Z extends Number> |
lineDasharray(CameraFunction<Z,Float[]> function)
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<Float> |
lineGapWidth(Float value)
Draws a line casing outside of a line's actual path.
|
static <T> PropertyValue<Function<T,Float>> |
lineGapWidth(Function<T,Float> function)
Draws a line casing outside of a line's actual path.
|
static <Z extends Number> |
lineJoin(CameraFunction<Z,String> function)
The display of lines when joining.
|
static PropertyValue<String> |
lineJoin(String value)
The display of lines when joining.
|
static <Z extends Number> |
lineMiterLimit(CameraFunction<Z,Float> function)
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<Float> |
lineOffset(Float value)
The line's offset.
|
static <T> PropertyValue<Function<T,Float>> |
lineOffset(Function<T,Float> function)
The line's offset.
|
static PropertyValue<Float> |
lineOpacity(Float value)
The opacity at which the line will be drawn.
|
static <T> PropertyValue<Function<T,Float>> |
lineOpacity(Function<T,Float> function)
The opacity at which the line will be drawn.
|
static <Z extends Number> |
linePattern(CameraFunction<Z,String> function)
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 <Z extends Number> |
lineRoundLimit(CameraFunction<Z,Float> function)
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 <Z extends Number> |
lineTranslate(CameraFunction<Z,Float[]> function)
The geometry's offset.
|
static PropertyValue<Float[]> |
lineTranslate(Float[] value)
The geometry's offset.
|
static <Z extends Number> |
lineTranslateAnchor(CameraFunction<Z,String> function)
Controls the translation reference point.
|
static PropertyValue<String> |
lineTranslateAnchor(String value)
Controls the translation reference point.
|
static <Z extends Number> |
lineWidth(CameraFunction<Z,Float> function)
Stroke thickness.
|
static PropertyValue<Float> |
lineWidth(Float value)
Stroke thickness.
|
static <Z extends Number> |
rasterBrightnessMax(CameraFunction<Z,Float> function)
Increase or reduce the brightness of the image.
|
static PropertyValue<Float> |
rasterBrightnessMax(Float value)
Increase or reduce the brightness of the image.
|
static <Z extends Number> |
rasterBrightnessMin(CameraFunction<Z,Float> function)
Increase or reduce the brightness of the image.
|
static PropertyValue<Float> |
rasterBrightnessMin(Float value)
Increase or reduce the brightness of the image.
|
static <Z extends Number> |
rasterContrast(CameraFunction<Z,Float> function)
Increase or reduce the contrast of the image.
|
static PropertyValue<Float> |
rasterContrast(Float value)
Increase or reduce the contrast of the image.
|
static <Z extends Number> |
rasterFadeDuration(CameraFunction<Z,Float> function)
Fade duration when a new tile is added.
|
static PropertyValue<Float> |
rasterFadeDuration(Float value)
Fade duration when a new tile is added.
|
static <Z extends Number> |
rasterHueRotate(CameraFunction<Z,Float> function)
Rotates hues around the color wheel.
|
static PropertyValue<Float> |
rasterHueRotate(Float value)
Rotates hues around the color wheel.
|
static <Z extends Number> |
rasterOpacity(CameraFunction<Z,Float> function)
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 <Z extends Number> |
rasterSaturation(CameraFunction<Z,Float> function)
Increase or reduce the saturation of the image.
|
static PropertyValue<Float> |
rasterSaturation(Float value)
Increase or reduce the saturation of the image.
|
static PropertyValue<Boolean> |
symbolAvoidEdges(Boolean value)
If true, the symbols will not cross tile edges to avoid mutual collisions.
|
static <Z extends Number> |
symbolAvoidEdges(CameraFunction<Z,Boolean> function)
If true, the symbols will not cross tile edges to avoid mutual collisions.
|
static <Z extends Number> |
symbolPlacement(CameraFunction<Z,String> function)
Label placement relative to its geometry.
|
static PropertyValue<String> |
symbolPlacement(String value)
Label placement relative to its geometry.
|
static <Z extends Number> |
symbolSpacing(CameraFunction<Z,Float> function)
Distance between two symbol anchors.
|
static PropertyValue<Float> |
symbolSpacing(Float value)
Distance between two symbol anchors.
|
static PropertyValue<Boolean> |
textAllowOverlap(Boolean value)
If true, the text will be visible even if it collides with other previously drawn symbols.
|
static <Z extends Number> |
textAllowOverlap(CameraFunction<Z,Boolean> function)
If true, the text will be visible even if it collides with other previously drawn symbols.
|
static <Z extends Number> |
textAnchor(CameraFunction<Z,String> function)
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 <T> PropertyValue<Function<T,String>> |
textColor(Function<T,String> function)
The color with which the text will be drawn.
|
static PropertyValue<String> |
textColor(int value)
The color with which the text will be drawn.
|
static PropertyValue<String> |
textColor(String value)
The color with which the text will be drawn.
|
static <T> PropertyValue<Function<T,String>> |
textField(Function<T,String> function)
Value to use for a text label.
|
static PropertyValue<String> |
textField(String value)
Value to use for a text label.
|
static <Z extends Number> |
textFont(CameraFunction<Z,String[]> function)
Font stack to use for displaying text.
|
static PropertyValue<String[]> |
textFont(String[] value)
Font stack to use for displaying text.
|
static PropertyValue<Float> |
textHaloBlur(Float value)
The halo's fadeout distance towards the outside.
|
static <T> PropertyValue<Function<T,Float>> |
textHaloBlur(Function<T,Float> function)
The halo's fadeout distance towards the outside.
|
static <T> PropertyValue<Function<T,String>> |
textHaloColor(Function<T,String> function)
The color of the text's halo, which helps it stand out from backgrounds.
|
static PropertyValue<String> |
textHaloColor(int value)
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<Float> |
textHaloWidth(Float value)
Distance of halo to the font outline.
|
static <T> PropertyValue<Function<T,Float>> |
textHaloWidth(Function<T,Float> function)
Distance of halo to the font outline.
|
static PropertyValue<Boolean> |
textIgnorePlacement(Boolean value)
If true, other symbols can be visible even if they collide with the text.
|
static <Z extends Number> |
textIgnorePlacement(CameraFunction<Z,Boolean> function)
If true, other symbols can be visible even if they collide with the text.
|
static <Z extends Number> |
textJustify(CameraFunction<Z,String> function)
Text justification options.
|
static PropertyValue<String> |
textJustify(String value)
Text justification options.
|
static PropertyValue<Boolean> |
textKeepUpright(Boolean value)
If true, the text may be flipped vertically to prevent it from being rendered upside-down.
|
static <Z extends Number> |
textKeepUpright(CameraFunction<Z,Boolean> function)
If true, the text may be flipped vertically to prevent it from being rendered upside-down.
|
static <Z extends Number> |
textLetterSpacing(CameraFunction<Z,Float> function)
Text tracking amount.
|
static PropertyValue<Float> |
textLetterSpacing(Float value)
Text tracking amount.
|
static <Z extends Number> |
textLineHeight(CameraFunction<Z,Float> function)
Text leading value for multi-line text.
|
static PropertyValue<Float> |
textLineHeight(Float value)
Text leading value for multi-line text.
|
static <Z extends Number> |
textMaxAngle(CameraFunction<Z,Float> function)
Maximum angle change between adjacent characters.
|
static PropertyValue<Float> |
textMaxAngle(Float value)
Maximum angle change between adjacent characters.
|
static <Z extends Number> |
textMaxWidth(CameraFunction<Z,Float> function)
The maximum line width for text wrapping.
|
static PropertyValue<Float> |
textMaxWidth(Float value)
The maximum line width for text wrapping.
|
static <Z extends Number> |
textOffset(CameraFunction<Z,Float[]> function)
Offset distance of text from its anchor.
|
static PropertyValue<Float[]> |
textOffset(Float[] value)
Offset distance of text from its anchor.
|
static PropertyValue<Float> |
textOpacity(Float value)
The opacity at which the text will be drawn.
|
static <T> PropertyValue<Function<T,Float>> |
textOpacity(Function<T,Float> function)
The opacity at which the text will be drawn.
|
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 <Z extends Number> |
textOptional(CameraFunction<Z,Boolean> function)
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
|
static <Z extends Number> |
textPadding(CameraFunction<Z,Float> function)
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 <Z extends Number> |
textPitchAlignment(CameraFunction<Z,String> function)
Orientation of text when map is pitched.
|
static PropertyValue<String> |
textPitchAlignment(String value)
Orientation of text when map is pitched.
|
static <Z extends Number> |
textRotate(CameraFunction<Z,Float> function)
Rotates the text clockwise.
|
static PropertyValue<Float> |
textRotate(Float value)
Rotates the text clockwise.
|
static <Z extends Number> |
textRotationAlignment(CameraFunction<Z,String> function)
In combination with
Property.SYMBOL_PLACEMENT , determines the rotation behavior of the individual glyphs forming the text. |
static PropertyValue<String> |
textRotationAlignment(String value)
In combination with
Property.SYMBOL_PLACEMENT , determines the rotation behavior of the individual glyphs forming the text. |
static <Z extends Number> |
textSize(CameraFunction<Z,Float> function)
Font size.
|
static PropertyValue<Float> |
textSize(Float value)
Font size.
|
static <T> PropertyValue<Function<T,String>> |
textTransform(Function<T,String> function)
Specifies how to capitalize text, similar to the CSS
textTransform(java.lang.String) property. |
static PropertyValue<String> |
textTransform(String value)
Specifies how to capitalize text, similar to the CSS
textTransform(java.lang.String) property. |
static <Z extends Number> |
textTranslate(CameraFunction<Z,Float[]> function)
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 <Z extends Number> |
textTranslateAnchor(CameraFunction<Z,String> function)
Controls the translation reference point.
|
static PropertyValue<String> |
textTranslateAnchor(String value)
Controls the translation reference point.
|
static <T> PropertyValue<Function<T,String>> |
visibility(Function<T,String> function)
Set the property visibility.
|
static PropertyValue<String> |
visibility(String value)
Set the property visibility.
|
public static PropertyValue<String> visibility(String value)
value
- the visibility valuepublic static <T> PropertyValue<Function<T,String>> visibility(Function<T,String> function)
T
- the function input typefunction
- the visibility functionpublic static PropertyValue<Boolean> fillAntialias(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> fillAntialias(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Float> fillOpacity(Float value)
fillColor(int)
, this value will also affect the 1px stroke around the fill, if the stroke is used.value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> fillOpacity(Function<T,Float> function)
fillColor(int)
, this value will also affect the 1px stroke around the fill, if the stroke is used.T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> fillColor(int value)
value
- a int color valuepublic static PropertyValue<String> fillColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> fillColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<String> fillOutlineColor(int value)
fillColor(int)
if unspecified.value
- a int color valuepublic static PropertyValue<String> fillOutlineColor(String value)
fillColor(int)
if unspecified.value
- a String valuepublic static <T> PropertyValue<Function<T,String>> fillOutlineColor(Function<T,String> function)
fillColor(int)
if unspecified.T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float[]> fillTranslate(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> fillTranslate(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> fillTranslateAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> fillTranslateAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> fillPattern(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> fillPattern(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> lineOpacity(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> lineOpacity(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> lineColor(int value)
value
- a int color valuepublic static PropertyValue<String> lineColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> lineColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float[]> lineTranslate(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> lineTranslate(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> lineTranslateAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> lineTranslateAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> lineWidth(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> lineWidth(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> lineGapWidth(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> lineGapWidth(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> lineOffset(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> lineOffset(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> lineBlur(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> lineBlur(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float[]> lineDasharray(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> lineDasharray(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> linePattern(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> linePattern(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> iconOpacity(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> iconOpacity(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> iconColor(int value)
value
- a int color valuepublic static PropertyValue<String> iconColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> iconColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<String> iconHaloColor(int value)
value
- a int color valuepublic static PropertyValue<String> iconHaloColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> iconHaloColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float> iconHaloWidth(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> iconHaloWidth(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> iconHaloBlur(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> iconHaloBlur(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float[]> iconTranslate(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> iconTranslate(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> iconTranslateAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> iconTranslateAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> textOpacity(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> textOpacity(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> textColor(int value)
value
- a int color valuepublic static PropertyValue<String> textColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> textColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<String> textHaloColor(int value)
value
- a int color valuepublic static PropertyValue<String> textHaloColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> textHaloColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float> textHaloWidth(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> textHaloWidth(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> textHaloBlur(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> textHaloBlur(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float[]> textTranslate(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> textTranslate(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> textTranslateAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> textTranslateAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> circleRadius(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> circleRadius(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> circleColor(int value)
value
- a int color valuepublic static PropertyValue<String> circleColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> circleColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float> circleBlur(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> circleBlur(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> circleOpacity(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> circleOpacity(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float[]> circleTranslate(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> circleTranslate(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> circleTranslateAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> circleTranslateAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> circlePitchScale(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> circlePitchScale(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> circleStrokeWidth(Float value)
circleRadius(java.lang.Float)
.value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> circleStrokeWidth(Function<T,Float> function)
circleRadius(java.lang.Float)
.T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<String> circleStrokeColor(int value)
value
- a int color valuepublic static PropertyValue<String> circleStrokeColor(String value)
value
- a String valuepublic static <T> PropertyValue<Function<T,String>> circleStrokeColor(Function<T,String> function)
T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float> circleStrokeOpacity(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> circleStrokeOpacity(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> rasterOpacity(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterOpacity(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterHueRotate(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterHueRotate(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterBrightnessMin(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterBrightnessMin(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterBrightnessMax(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterBrightnessMax(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterSaturation(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterSaturation(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterContrast(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterContrast(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> rasterFadeDuration(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> rasterFadeDuration(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<String> backgroundColor(int value)
value
- a int color valuepublic static PropertyValue<String> backgroundColor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> backgroundColor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> backgroundPattern(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> backgroundPattern(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> backgroundOpacity(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> backgroundOpacity(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<String> lineCap(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> lineCap(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> lineJoin(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> lineJoin(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> lineMiterLimit(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> lineMiterLimit(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> lineRoundLimit(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> lineRoundLimit(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<String> symbolPlacement(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> symbolPlacement(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> symbolSpacing(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> symbolSpacing(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Boolean> symbolAvoidEdges(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> symbolAvoidEdges(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Boolean> iconAllowOverlap(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> iconAllowOverlap(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Boolean> iconIgnorePlacement(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> iconIgnorePlacement(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Boolean> iconOptional(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> iconOptional(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<String> iconRotationAlignment(String value)
Property.SYMBOL_PLACEMENT
, determines the rotation behavior of icons.value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> iconRotationAlignment(CameraFunction<Z,String> function)
Property.SYMBOL_PLACEMENT
, determines the rotation behavior of icons.Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> iconSize(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> iconSize(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<String> iconTextFit(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> iconTextFit(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float[]> iconTextFitPadding(Float[] value)
Property.ICON_TEXT_FIT
, in clockwise order: top, right, bottom, left.value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> iconTextFitPadding(CameraFunction<Z,Float[]> function)
Property.ICON_TEXT_FIT
, in clockwise order: top, right, bottom, left.Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<String> iconImage(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> iconImage(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> iconRotate(Float value)
value
- a Float valuepublic static <T> PropertyValue<Function<T,Float>> iconRotate(Function<T,Float> function)
T
- the function input typefunction
- a wrapper function for Floatpublic static PropertyValue<Float> iconPadding(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> iconPadding(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Boolean> iconKeepUpright(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> iconKeepUpright(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Float[]> iconOffset(Float[] value)
iconRotate(java.lang.Float)
the offset will be as if the rotated direction was up.value
- a Float[] valuepublic static <T> PropertyValue<Function<T,Float[]>> iconOffset(Function<T,Float[]> function)
iconRotate(java.lang.Float)
the offset will be as if the rotated direction was up.T
- the function input typefunction
- a wrapper function for Float[]public static PropertyValue<String> textPitchAlignment(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> textPitchAlignment(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> textRotationAlignment(String value)
Property.SYMBOL_PLACEMENT
, determines the rotation behavior of the individual glyphs forming the text.value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> textRotationAlignment(CameraFunction<Z,String> function)
Property.SYMBOL_PLACEMENT
, determines the rotation behavior of the individual glyphs forming the text.Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> textField(String value)
textField(java.lang.String)
values--not for property functions.)value
- a String valuepublic static <T> PropertyValue<Function<T,String>> textField(Function<T,String> function)
textField(java.lang.String)
values--not for property functions.)T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<String[]> textFont(String[] value)
value
- a String[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String[]>> textFont(CameraFunction<Z,String[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for String[]public static PropertyValue<Float> textSize(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textSize(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> textMaxWidth(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textMaxWidth(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> textLineHeight(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textLineHeight(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> textLetterSpacing(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textLetterSpacing(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<String> textJustify(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> textJustify(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<String> textAnchor(String value)
value
- a String valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,String>> textAnchor(CameraFunction<Z,String> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Stringpublic static PropertyValue<Float> textMaxAngle(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textMaxAngle(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> textRotate(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textRotate(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Float> textPadding(Float value)
value
- a Float valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float>> textPadding(CameraFunction<Z,Float> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Floatpublic static PropertyValue<Boolean> textKeepUpright(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> textKeepUpright(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<String> textTransform(String value)
textTransform(java.lang.String)
property.value
- a String valuepublic static <T> PropertyValue<Function<T,String>> textTransform(Function<T,String> function)
textTransform(java.lang.String)
property.T
- the function input typefunction
- a wrapper function for Stringpublic static PropertyValue<Float[]> textOffset(Float[] value)
value
- a Float[] valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Float[]>> textOffset(CameraFunction<Z,Float[]> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Float[]public static PropertyValue<Boolean> textAllowOverlap(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> textAllowOverlap(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Boolean> textIgnorePlacement(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> textIgnorePlacement(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static PropertyValue<Boolean> textOptional(Boolean value)
value
- a Boolean valuepublic static <Z extends Number> PropertyValue<CameraFunction<Z,Boolean>> textOptional(CameraFunction<Z,Boolean> function)
Z
- the zoom parameter typefunction
- a wrapper CameraFunction
for Booleanpublic static String colorToRgbaString(int value)
© 2015–2017 Mapbox. All rights reserved.